diff options
Diffstat (limited to 'scripts/lib/devtool/sdk.py')
-rw-r--r-- | scripts/lib/devtool/sdk.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 12de9423e7..f6c5434732 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py | |||
@@ -296,10 +296,16 @@ def sdk_install(args, config, basepath, workspace): | |||
296 | def register_commands(subparsers, context): | 296 | def register_commands(subparsers, context): |
297 | """Register devtool subcommands from the sdk plugin""" | 297 | """Register devtool subcommands from the sdk plugin""" |
298 | if context.fixed_setup: | 298 | if context.fixed_setup: |
299 | parser_sdk = subparsers.add_parser('sdk-update', help='Update SDK components from a nominated location') | 299 | parser_sdk = subparsers.add_parser('sdk-update', |
300 | help='Update SDK components from a nominated location', | ||
301 | group='sdk') | ||
300 | parser_sdk.add_argument('updateserver', help='The update server to fetch latest SDK components from', nargs='?') | 302 | parser_sdk.add_argument('updateserver', help='The update server to fetch latest SDK components from', nargs='?') |
301 | parser_sdk.add_argument('--skip-prepare', action="store_true", help='Skip re-preparing the build system after updating (for debugging only)') | 303 | parser_sdk.add_argument('--skip-prepare', action="store_true", help='Skip re-preparing the build system after updating (for debugging only)') |
302 | parser_sdk.set_defaults(func=sdk_update) | 304 | parser_sdk.set_defaults(func=sdk_update) |
303 | parser_sdk_install = subparsers.add_parser('sdk-install', help='Install additional SDK components', description='Installs additional recipe development files into the SDK. (You can use "devtool search" to find available recipes.)') | 305 | |
306 | parser_sdk_install = subparsers.add_parser('sdk-install', | ||
307 | help='Install additional SDK components', | ||
308 | description='Installs additional recipe development files into the SDK. (You can use "devtool search" to find available recipes.)', | ||
309 | group='sdk') | ||
304 | parser_sdk_install.add_argument('recipename', help='Name of the recipe to install the development artifacts for', nargs='+') | 310 | parser_sdk_install.add_argument('recipename', help='Name of the recipe to install the development artifacts for', nargs='+') |
305 | parser_sdk_install.set_defaults(func=sdk_install) | 311 | parser_sdk_install.set_defaults(func=sdk_install) |