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:
Heitor Matsui 2024-02-16 17:42:44 -03:00
parent 5b37af0ef6
commit d5de91e301
1 changed files with 5 additions and 2 deletions

View File

@ -1517,13 +1517,16 @@ def setup_argparse():
# --- software upload <release> ---------------
cmd = commands.add_parser(
'upload',
help='Upload a software release'
help='Upload software major or patch releases'
)
cmd.set_defaults(cmd='upload')
cmd.set_defaults(func=release_upload_req)
cmd.add_argument('release',
metavar='(iso + sig) | patch',
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',
required=False,
default=False,