pmb/parse/arguments: add aportupgrade to --help (MR 2121)

I keep forgetting this command exists, for one because it doesn't appear
(besides in a big, hard-to-read, one-line list) in the --help output
This commit is contained in:
Bart Ribbers 2021-10-10 13:54:58 +02:00
parent 446a8fc430
commit 37c390aeed
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 1 deletions

View File

@ -355,7 +355,8 @@ def arguments_pkgrel_bump(subparser):
def arguments_aportupgrade(subparser):
ret = subparser.add_parser("aportupgrade")
ret = subparser.add_parser("aportupgrade", help="check for outdated"
" packages that need upgrading")
ret.add_argument("--dry", action="store_true", help="instead of modifying"
" APKBUILDs, print the changes that would be made")
ret.add_argument("--ref", help="git ref (tag, commit, etc) to use")