From da7a1667088c32d39ebb009cd74852346b5a0adb Mon Sep 17 00:00:00 2001 From: Dialga Date: Sat, 11 Jun 2022 20:06:55 +1200 Subject: [PATCH] v.pkgconfig: fix duplication in short flags to the standalone pkgconfig binary (#14740) --- vlib/v/pkgconfig/main.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/pkgconfig/main.v b/vlib/v/pkgconfig/main.v index ecde625583..0064536746 100644 --- a/vlib/v/pkgconfig/main.v +++ b/vlib/v/pkgconfig/main.v @@ -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')