[pacman-dev] [PATCH 1/4] pacman-db-upgrade: fix --config option typo

Andrew Gregory andrew.gregory.8 at gmail.com
Thu Oct 23 07:42:24 UTC 2014


Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 scripts/pacman-db-upgrade.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in
index f9bd101..2fced9b 100644
--- a/scripts/pacman-db-upgrade.sh.in
+++ b/scripts/pacman-db-upgrade.sh.in
@@ -94,7 +94,7 @@ fi
 USE_COLOR='y'
 
 OPT_SHORT="d:hr:V"
-OPT_LONG=('confg' 'dbpath:' 'help' 'nocolor' 'root:' 'version')
+OPT_LONG=('config:' 'dbpath:' 'help' 'nocolor' 'root:' 'version')
 if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then
 	exit 1 # E_INVALID_OPTION
 fi
-- 
2.1.2


More information about the pacman-dev mailing list