makepkg: remove unused -C option from option list
We nuke it from the completion file as well along with its longopt. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
727e03fe19
commit
6907a22b27
2 changed files with 4 additions and 4 deletions
|
@ -31,11 +31,11 @@ _makepkg() {
|
||||||
local cur opts prev
|
local cur opts prev
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
_get_comp_words_by_ref cur prev
|
_get_comp_words_by_ref cur prev
|
||||||
if [[ $cur = -* && ! $prev =~ ^-(-(cleancache|config|help)$|\w*[Chp]) ]]; then
|
if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then
|
||||||
opts=('allsource asroot clean cleancache config force geninteg help holdver
|
opts=('allsource asroot clean config force geninteg help holdver
|
||||||
ignorearch install log nobuild nocolor noconfirm nodeps noextract
|
ignorearch install log nobuild nocolor noconfirm nodeps noextract
|
||||||
noprogressbar pkg repackage rmdeps skipinteg source syncdeps'
|
noprogressbar pkg repackage rmdeps skipinteg source syncdeps'
|
||||||
'A C L R c d e f g h i m o p r s')
|
'A L R c d e f g h i m o p r s')
|
||||||
_arch_ptr2comp opts
|
_arch_ptr2comp opts
|
||||||
fi
|
fi
|
||||||
true
|
true
|
||||||
|
|
|
@ -1748,7 +1748,7 @@ fi
|
||||||
ARGLIST=("$@")
|
ARGLIST=("$@")
|
||||||
|
|
||||||
# Parse Command Line Options.
|
# Parse Command Line Options.
|
||||||
OPT_SHORT="AcCdefFghiLmop:rRsV"
|
OPT_SHORT="AcdefFghiLmop:rRsV"
|
||||||
OPT_LONG="allsource,asroot,ignorearch,check,clean,nodeps"
|
OPT_LONG="allsource,asroot,ignorearch,check,clean,nodeps"
|
||||||
OPT_LONG+=",noextract,force,forcever:,geninteg,help,holdver"
|
OPT_LONG+=",noextract,force,forcever:,geninteg,help,holdver"
|
||||||
OPT_LONG+=",install,key:,log,nocolor,nobuild,nocheck,nosign,pkg:,rmdeps"
|
OPT_LONG+=",install,key:,log,nocolor,nobuild,nocheck,nosign,pkg:,rmdeps"
|
||||||
|
|
Loading…
Add table
Reference in a new issue