summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/utilcmds.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/utilcmds.py')
-rw-r--r--scripts/lib/devtool/utilcmds.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/lib/devtool/utilcmds.py b/scripts/lib/devtool/utilcmds.py
index 18eddb78b0..905d6d2b19 100644
--- a/scripts/lib/devtool/utilcmds.py
+++ b/scripts/lib/devtool/utilcmds.py
@@ -214,7 +214,8 @@ The ./configure %s output for %s follows.
214def register_commands(subparsers, context): 214def register_commands(subparsers, context):
215 """Register devtool subcommands from this plugin""" 215 """Register devtool subcommands from this plugin"""
216 parser_edit_recipe = subparsers.add_parser('edit-recipe', help='Edit a recipe file in your workspace', 216 parser_edit_recipe = subparsers.add_parser('edit-recipe', help='Edit a recipe file in your workspace',
217 description='Runs the default editor (as specified by the EDITOR variable) on the specified recipe. Note that the recipe file itself must be in the workspace (i.e. as a result of "devtool add" or "devtool upgrade"); you can override this with the -a/--any-recipe option.') 217 description='Runs the default editor (as specified by the EDITOR variable) on the specified recipe. Note that the recipe file itself must be in the workspace (i.e. as a result of "devtool add" or "devtool upgrade"); you can override this with the -a/--any-recipe option.',
218 group='working')
218 parser_edit_recipe.add_argument('recipename', help='Recipe to edit') 219 parser_edit_recipe.add_argument('recipename', help='Recipe to edit')
219 parser_edit_recipe.add_argument('--any-recipe', '-a', action="store_true", help='Edit any recipe, not just where the recipe file itself is in the workspace') 220 parser_edit_recipe.add_argument('--any-recipe', '-a', action="store_true", help='Edit any recipe, not just where the recipe file itself is in the workspace')
220 parser_edit_recipe.set_defaults(func=edit_recipe) 221 parser_edit_recipe.set_defaults(func=edit_recipe)
@@ -223,7 +224,8 @@ def register_commands(subparsers, context):
223 # gets the order wrong - recipename must come before --arg 224 # gets the order wrong - recipename must come before --arg
224 parser_configure_help = subparsers.add_parser('configure-help', help='Get help on configure script options', 225 parser_configure_help = subparsers.add_parser('configure-help', help='Get help on configure script options',
225 usage='devtool configure-help [options] recipename [--arg ...]', 226 usage='devtool configure-help [options] recipename [--arg ...]',
226 description='Displays the help for the configure script for the specified recipe (i.e. runs ./configure --help) prefaced by a header describing the current options being specified. Output is piped through less (or whatever PAGER is set to, if set) for easy browsing.') 227 description='Displays the help for the configure script for the specified recipe (i.e. runs ./configure --help) prefaced by a header describing the current options being specified. Output is piped through less (or whatever PAGER is set to, if set) for easy browsing.',
228 group='working')
227 parser_configure_help.add_argument('recipename', help='Recipe to show configure help for') 229 parser_configure_help.add_argument('recipename', help='Recipe to show configure help for')
228 parser_configure_help.add_argument('-p', '--no-pager', help='Disable paged output', action="store_true") 230 parser_configure_help.add_argument('-p', '--no-pager', help='Disable paged output', action="store_true")
229 parser_configure_help.add_argument('-n', '--no-header', help='Disable explanatory header text', action="store_true") 231 parser_configure_help.add_argument('-n', '--no-header', help='Disable explanatory header text', action="store_true")