summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-07-08 09:01:37 -0400
committerDan McGee <dan@archlinux.org>2011-07-14 15:49:13 -0500
commit6907a22b275859dcdf4c80ac6df87099414b0b04 (patch)
tree22699ab05ada6ac10b8c46c67d01b9c870d75300
parent727e03fe198e58e53434ad445e6156f06daf5e94 (diff)
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>
-rw-r--r--contrib/bash_completion.in6
-rw-r--r--scripts/makepkg.sh.in2
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index 7f47f4b4..32f9dfbc 100644
--- a/contrib/bash_completion.in
+++ b/contrib/bash_completion.in
@@ -31,11 +31,11 @@ _makepkg() {
local cur opts prev
COMPREPLY=()
_get_comp_words_by_ref cur prev
- if [[ $cur = -* && ! $prev =~ ^-(-(cleancache|config|help)$|\w*[Chp]) ]]; then
- opts=('allsource asroot clean cleancache config force geninteg help holdver
+ if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then
+ opts=('allsource asroot clean config force geninteg help holdver
ignorearch install log nobuild nocolor noconfirm nodeps noextract
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
fi
true
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 546e1e77..14479f8a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1748,7 +1748,7 @@ fi
ARGLIST=("$@")
# Parse Command Line Options.
-OPT_SHORT="AcCdefFghiLmop:rRsV"
+OPT_SHORT="AcdefFghiLmop:rRsV"
OPT_LONG="allsource,asroot,ignorearch,check,clean,nodeps"
OPT_LONG+=",noextract,force,forcever:,geninteg,help,holdver"
OPT_LONG+=",install,key:,log,nocolor,nobuild,nocheck,nosign,pkg:,rmdeps"