You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description="Command-line code management tool for ARM mbed OS - http://www.mbed.com\nversion %s\n\nUse 'mbed <command> -h|--help' for detailed help.\nOnline manual and guides at www.mbed.com/cli_help"%ver,
description="Command-line code management tool for ARM mbed OS - http://www.mbed.com\nversion %s\n\nUse 'mbed <command> -h|--help' for detailed help.\nOnline manual and guide available at www.mbed.com/cli_help"%ver,
dict(name='--create-only', action='store_true', help='Only create a program, do not import mbed-os or mbed library.'),
1386
1388
dict(name='--depth', nargs='?', help='Number of revisions to fetch the mbed OS repository when creating new program. Default: all revisions.'),
1387
1389
dict(name='--protocol', nargs='?', help='Transport protocol when fetching the mbed OS repository when creating new program. Supported: https, http, ssh, git. Default: inferred from URL.'),
1388
-
description='Creates a new mbed program if executed within a non-program location. Alternatively creates an mbed library if executed within an existing mbed program.\nThe latest mbed-os release will be downloaded/added as well if a new program is created (unless --create-only is specified).\nSupported source control management: git, hg',
1389
-
help='Create new mbed program or library')
1390
+
help='Create new mbed program or library',
1391
+
description=(
1392
+
"Creates a new mbed program if executed within a non-program location.\n"
1393
+
"Alternatively creates an mbed library if executed within an existing() program.\n"
1394
+
"When creating new program, the latest mbed-os release will be downloaded/added\n unless --create-only is specified.\n"
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1455
1461
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1456
1462
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1457
-
description='Import a program and its dependencies into the current directory or specified destination path.',
1458
-
help='Import program from URL')
1463
+
help='Import program from URL',
1464
+
description=(
1465
+
"Imports mbed program and its dependencies from a source control based URL\n(GitHub, Bitbucket, mbed.org) into the current directory or\nspecified path.\nUse 'mbed add <URL>' to add a library into an existing program."))
dict(name=['-I', '--ignore'], action='store_true', help='Ignore errors related to cloning and updating.'),
1516
1523
dict(name='--depth', nargs='?', help='Number of revisions to fetch from the remote repository. Default: all revisions.'),
1517
1524
dict(name='--protocol', nargs='?', help='Transport protocol for the source control management. Supported: https, http, ssh, git. Default: inferred from URL.'),
1518
-
description='Add a library and its dependencies into the current %s or specified destination path.'%cwd_type,
1519
-
help='Add library from URL')
1525
+
help='Add library from URL',
1526
+
description=(
1527
+
"Adds mbed library and its dependencies from a source control based URL\n"
1528
+
"(GitHub, Bitbucket, mbed.org) into an existing program.\n"
1529
+
"Use 'mbed import <URL>' to import as a program"))
0 commit comments