v.pkgconfig: fix duplication in short flags to the standalone pkgconfig binary (#14740)

master
Dialga 2022-06-11 20:06:55 +12:00 committed by GitHub
parent 26d051475a
commit da7a166708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -182,9 +182,9 @@ fn parse_options(mut fp flag.FlagParser) &MainOptions {
modversion: fp.bool('modversion', `V`, false, 'show version of module')
help: fp.bool('help', `h`, false, 'show this help message')
debug: fp.bool('debug', `D`, false, 'show debug information')
listall: fp.bool('list-all', `l`, false, 'list all pkgmodules')
listall: fp.bool('list-all', `p`, false, 'list all pkgmodules')
exists: fp.bool('exists', `e`, false, 'return 0 if pkg exists')
variables: fp.bool('print-variables', `V`, false, 'display variable names')
variables: fp.bool('print-variables', `P`, false, 'display variable names')
requires: fp.bool('print-requires', `r`, false, 'display requires of the module')
atleast: fp.string('atleast-version', `a`, '', 'return 0 if pkg version is at least the given one')
atleastpc: fp.string('atleast-pkgconfig-version', `A`, '', 'return 0 if pkgconfig version is at least the given one')