summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-11-23 13:34:20 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:04 +0000
commit0b850cb231231371b496ae5ee6f7571c3de2f448 (patch)
tree3b084d24611dccee0ff173254646c1e0269845f0 /scripts/lib/devtool/upgrade.py
parent5001f23ecc5f380938cee8d7fcce053ea482d928 (diff)
downloadpoky-0b850cb231231371b496ae5ee6f7571c3de2f448.tar.gz
devtool: clarify help text
* Make some minor clarifications to help text * Drop ArgumentDefaultsHelpFormatter and just put the defaults in the text itself where needed (because otherwise you get defaults shown for store_true options which is somewhat confusing). (From OE-Core rev: a90ffea30c4578fd6acda2c5945b816ad33b13f5) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
-rw-r--r--scripts/lib/devtool/upgrade.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index d7fd408a2e..fbffae06fe 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -361,8 +361,8 @@ def upgrade(args, config, basepath, workspace):
361def register_commands(subparsers, context): 361def register_commands(subparsers, context):
362 """Register devtool subcommands from this plugin""" 362 """Register devtool subcommands from this plugin"""
363 parser_upgrade = subparsers.add_parser('upgrade', help='Upgrade an existing recipe', 363 parser_upgrade = subparsers.add_parser('upgrade', help='Upgrade an existing recipe',
364 description='Upgrades an existing recipe to a new upstream version') 364 description='Upgrades an existing recipe to a new upstream version. Puts the upgraded recipe file into the workspace along with any associated files, and extracts the source tree to a specified location (in case patches need rebasing or adding to as a result of the upgrade).')
365 parser_upgrade.add_argument('recipename', help='Name for recipe to extract the source for') 365 parser_upgrade.add_argument('recipename', help='Name of recipe to upgrade (just name - no version, path or extension)')
366 parser_upgrade.add_argument('srctree', help='Path to where to extract the source tree') 366 parser_upgrade.add_argument('srctree', help='Path to where to extract the source tree')
367 parser_upgrade.add_argument('--version', '-V', help='Version to upgrade to (PV)') 367 parser_upgrade.add_argument('--version', '-V', help='Version to upgrade to (PV)')
368 parser_upgrade.add_argument('--srcrev', '-S', help='Source revision to upgrade to (if fetching from an SCM such as git)') 368 parser_upgrade.add_argument('--srcrev', '-S', help='Source revision to upgrade to (if fetching from an SCM such as git)')