pacman-db-upgrade: fix --config option typo
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
566dc23357
commit
1e0b2f6629
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ fi
|
||||||
USE_COLOR='y'
|
USE_COLOR='y'
|
||||||
|
|
||||||
OPT_SHORT="d:hr:V"
|
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
|
if ! parseopts "$OPT_SHORT" "${OPT_LONG[@]}" -- "$@"; then
|
||||||
exit 1 # E_INVALID_OPTION
|
exit 1 # E_INVALID_OPTION
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue