summaryrefslogtreecommitdiffstats
path: root/scripts/devtool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-xscripts/devtool10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/devtool b/scripts/devtool
index 23e9b50074..06e91b7591 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -275,10 +275,18 @@ def main():
275 275
276 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>') 276 subparsers = parser.add_subparsers(dest="subparser_name", title='subcommands', metavar='<subcommand>')
277 277
278 subparsers.add_subparser_group('sdk', 'SDK maintenance', -2)
279 subparsers.add_subparser_group('advanced', 'Advanced', -1)
280 subparsers.add_subparser_group('starting', 'Beginning work on a recipe', 100)
281 subparsers.add_subparser_group('info', 'Getting information')
282 subparsers.add_subparser_group('working', 'Working on a recipe in the workspace')
283 subparsers.add_subparser_group('testbuild', 'Testing changes on target')
284
278 if not context.fixed_setup: 285 if not context.fixed_setup:
279 parser_create_workspace = subparsers.add_parser('create-workspace', 286 parser_create_workspace = subparsers.add_parser('create-workspace',
280 help='Set up workspace in an alternative location', 287 help='Set up workspace in an alternative location',
281 description='Sets up a new workspace. NOTE: other devtool subcommands will create a workspace automatically as needed, so you only need to use %(prog)s if you want to specify where the workspace should be located.') 288 description='Sets up a new workspace. NOTE: other devtool subcommands will create a workspace automatically as needed, so you only need to use %(prog)s if you want to specify where the workspace should be located.',
289 group='advanced')
282 parser_create_workspace.add_argument('layerpath', nargs='?', help='Path in which the workspace layer should be created') 290 parser_create_workspace.add_argument('layerpath', nargs='?', help='Path in which the workspace layer should be created')
283 parser_create_workspace.add_argument('--create-only', action="store_true", help='Only create the workspace layer, do not alter configuration') 291 parser_create_workspace.add_argument('--create-only', action="store_true", help='Only create the workspace layer, do not alter configuration')
284 parser_create_workspace.set_defaults(func=create_workspace, no_workspace=True) 292 parser_create_workspace.set_defaults(func=create_workspace, no_workspace=True)