diff options
author | Jeffrey Tolar <tolar.jeffrey@gmail.com> | 2015-01-22 02:45:14 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-02-01 12:11:06 +0100 |
commit | 50de87e0e61e4cd5e80e58dcabc0f80b3e94d203 (patch) | |
tree | 56a9cd65b0d41fe9bc9cbdc65ddf667b39e40ec4 /contrib | |
parent | c6263da168f7d612ea221e868fe42ad2ed706fa9 (diff) | |
download | pacman-50de87e0e61e4cd5e80e58dcabc0f80b3e94d203.tar.gz pacman-50de87e0e61e4cd5e80e58dcabc0f80b3e94d203.tar.xz |
Remove --asroot from makepkg's completions
Signed-off-by: Jeffrey Tolar <tolar.jeffrey@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/bash_completion.in | 8 | ||||
-rw-r--r-- | contrib/zsh_completion.in | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in index 15e1daca..224b8f92 100644 --- a/contrib/bash_completion.in +++ b/contrib/bash_completion.in @@ -75,10 +75,10 @@ _makepkg() { COMPREPLY=() _get_comp_words_by_ref cur prev if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then - opts=('allsource asdeps asroot check clean config force geninteg help holdver ignorearch - install key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract - noprepare noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg - skippgpcheck source syncdeps verifysource version' + opts=('allsource asdeps check clean config force geninteg help holdver ignorearch install + key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract noprepare + noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg skippgpcheck + source syncdeps verifysource version' 'A L R S c d e f g h i m o p r s') _arch_ptr2comp opts fi diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in index f2ff7c8a..09058001 100644 --- a/contrib/zsh_completion.in +++ b/contrib/zsh_completion.in @@ -586,7 +586,6 @@ _makepkg_longopts=( '--syncdeps[Install missing dependencies with pacman]' '--source[Generate a source-only tarball without downloading sources]' '--allsource[Generate a source-only tarball including downloaded source]' - '--asroot[Allow makepkg to run as root user]' '--check[Run check() function in the PKGBUILD]' '--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files' '--holdver[Prevent automatic version bumping for development PKGBUILDs]' |