mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 23:39:22 +00:00
devtool: add: tweak help text
Add a few clarifying words. (From OE-Core rev: 2103fa9dc7faf2189c8b426b87fb9d421a9983ac) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
316b57b62e
commit
6acbdc9cf1
@@ -1181,7 +1181,7 @@ def edit_recipe(args, config, basepath, workspace):
|
||||
def register_commands(subparsers, context):
|
||||
"""Register devtool subcommands from this plugin"""
|
||||
parser_add = subparsers.add_parser('add', help='Add a new recipe',
|
||||
description='Adds a new recipe to the workspace to build a specified source tree')
|
||||
description='Adds a new recipe to the workspace to build a specified source tree. Can optionally fetch a remote URI and unpack it to create the source tree.')
|
||||
parser_add.add_argument('recipename', help='Name for new recipe to add (just name - no version, path or extension)')
|
||||
parser_add.add_argument('srctree', help='Path to external source tree')
|
||||
group = parser_add.add_mutually_exclusive_group()
|
||||
@@ -1190,7 +1190,7 @@ def register_commands(subparsers, context):
|
||||
parser_add.add_argument('--fetch', '-f', help='Fetch the specified URI and extract it to create the source tree', metavar='URI')
|
||||
parser_add.add_argument('--version', '-V', help='Version to use within recipe (PV)')
|
||||
parser_add.add_argument('--no-git', '-g', help='If -f/--fetch is specified, do not set up source tree as a git repository', action="store_true")
|
||||
parser_add.add_argument('--binary', '-b', help='Treat the source tree as something that should be installed verbatim (no compilation, same directory structure)', action='store_true')
|
||||
parser_add.add_argument('--binary', '-b', help='Treat the source tree as something that should be installed verbatim (no compilation, same directory structure). Useful with binary packages e.g. RPMs.', action='store_true')
|
||||
parser_add.set_defaults(func=add)
|
||||
|
||||
parser_modify = subparsers.add_parser('modify', help='Modify the source for an existing recipe',
|
||||
|
||||
Reference in New Issue
Block a user