qvm-template: Improve help message for --upgrades

This commit is contained in:
WillyPillow 2020-08-30 02:54:43 +08:00
parent d65d3c741a
commit 6b3858314d
No known key found for this signature in database
GPG Key ID: 3839E194B1415A9C
2 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ Options
.. option:: --upgrades
Show upgradable templates.
Show available upgrades.
.. option:: --machine-readable
@ -296,7 +296,7 @@ Options
.. option:: --upgrades
Show upgradable templates.
Show available upgrades.
.. option:: --machine-readable

View File

@ -142,7 +142,7 @@ def parser_gen() -> argparse.ArgumentParser:
help=('Show extras (e.g., ones that exist'
' locally but not in repos) templates.'))
parser_x.add_argument('--upgrades', action='store_true',
help='Show upgradable templates.')
help='Show available upgrades.')
readable = parser_x.add_mutually_exclusive_group()
readable.add_argument('--machine-readable', action='store_true',
help='Enable machine-readable output.')