Mercurial > libervia-backend
comparison sat_frontends/jp/cmd_application.py @ 3563:267e4987b58b
doc: fix remaining SàT references/typos + add `libervia-cli` missing commands
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jun 2021 09:21:41 +0200 |
parents | be6d91572633 |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
3562:9f599ccbea4e | 3563:267e4987b58b |
---|---|
145 def add_parser_options(self): | 145 def add_parser_options(self): |
146 id_group = self.parser.add_mutually_exclusive_group(required=True) | 146 id_group = self.parser.add_mutually_exclusive_group(required=True) |
147 id_group.add_argument( | 147 id_group.add_argument( |
148 "name", | 148 "name", |
149 nargs="?", | 149 nargs="?", |
150 help=_("name of the application to stop"), | 150 help=_("name of the application to check"), |
151 ) | 151 ) |
152 id_group.add_argument( | 152 id_group.add_argument( |
153 "-i", | 153 "-i", |
154 "--id", | 154 "--id", |
155 help=_("identifier of the instance to stop"), | 155 help=_("identifier of the instance to check"), |
156 ) | 156 ) |
157 | 157 |
158 async def start(self): | 158 async def start(self): |
159 try: | 159 try: |
160 if self.args.name is not None: | 160 if self.args.name is not None: |