Improve software upload help text
This commit changes the wording on software upload command to improve the feedback to the user. Test Plan PASS: run "software upload -h" and verify the output Story: 2010676 Task: 49589 Change-Id: I8df2e67ef20627e96399d797c998e00c38eab849 Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
This commit is contained in:
parent
5b37af0ef6
commit
d5de91e301
|
@ -1517,13 +1517,16 @@ def setup_argparse():
|
||||||
# --- software upload <release> ---------------
|
# --- software upload <release> ---------------
|
||||||
cmd = commands.add_parser(
|
cmd = commands.add_parser(
|
||||||
'upload',
|
'upload',
|
||||||
help='Upload a software release'
|
help='Upload software major or patch releases'
|
||||||
)
|
)
|
||||||
cmd.set_defaults(cmd='upload')
|
cmd.set_defaults(cmd='upload')
|
||||||
cmd.set_defaults(func=release_upload_req)
|
cmd.set_defaults(func=release_upload_req)
|
||||||
cmd.add_argument('release',
|
cmd.add_argument('release',
|
||||||
|
metavar='(iso + sig) | patch',
|
||||||
nargs="+", # accepts a list
|
nargs="+", # accepts a list
|
||||||
help='software releases to upload')
|
help=('pair of install iso and sig files for major release '
|
||||||
|
'(GA or patched) and/or one or more files containing a '
|
||||||
|
'patch release. NOTE: specify at most ONE pair of (iso + sig)'))
|
||||||
cmd.add_argument('--local',
|
cmd.add_argument('--local',
|
||||||
required=False,
|
required=False,
|
||||||
default=False,
|
default=False,
|
||||||
|
|
Loading…
Reference in New Issue