diff --git a/tools/device_management.py b/tools/device_management.py index 14733f2c02..397d56d615 100644 --- a/tools/device_management.py +++ b/tools/device_management.py @@ -44,6 +44,15 @@ from tools.options import extract_mcus 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=[]): if 'payload' not in exclusions: parser.add_argument(