Skip to content

Commit 24d7603

Browse files
committed
Allow downstream impl of mbed dm to print help
The mbed dm subcommand has a complicated invocation. Instead of duplicated the argument parser, I elected to pass the implementation of `mbed dm --help` to the "downsteam implementation" (the python script in mbed-os).
1 parent 63e3fae commit 24d7603

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mbed/mbed.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2822,6 +2822,7 @@ def test_(toolchain=None, target=None, compile_list=False, run_list=False,
28222822
dict(name='--build', help='Build directory. Default: build/'),
28232823
dict(name='--source', action='append', help='Source directory. Default: . (current dir)'),
28242824
help='device management supcommand',
2825+
add_help=False,
28252826
hidden_aliases=['dev-mgmt', 'dm'],
28262827
description=("Manage Device with Pelion"))
28272828
def dev_mgmt(toolchain=None, target=None, source=False, profile=False, build=False):

0 commit comments

Comments
 (0)