mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #8104 from theotherjimmy/mbed-dm-help
`mbed dm`: Remove references to internal script from helppull/7938/merge
commit
0f1075cbd8
|
|
@ -44,6 +44,15 @@ from tools.options import extract_mcus
|
||||||
|
|
||||||
|
|
||||||
class MbedExtendedArgs(MainArgumentParser):
|
class MbedExtendedArgs(MainArgumentParser):
|
||||||
|
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
MainArgumentParser.__init__(self, *args, **kwargs)
|
||||||
|
self.parser.prog = "mbed device-management"
|
||||||
|
self.parser.description = (
|
||||||
|
"Create or transform a manifest. "
|
||||||
|
"Use {} [command] -h for help on each command."
|
||||||
|
).format(self.parser.prog)
|
||||||
|
|
||||||
def _addCreateArgs(self, parser, exclusions=[]):
|
def _addCreateArgs(self, parser, exclusions=[]):
|
||||||
if 'payload' not in exclusions:
|
if 'payload' not in exclusions:
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue