Remove --asroot from makepkg's completions
Signed-off-by: Jeffrey Tolar <tolar.jeffrey@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
c6263da168
commit
50de87e0e6
2 changed files with 4 additions and 5 deletions
|
@ -75,10 +75,10 @@ _makepkg() {
|
||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
_get_comp_words_by_ref cur prev
|
_get_comp_words_by_ref cur prev
|
||||||
if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then
|
if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then
|
||||||
opts=('allsource asdeps asroot check clean config force geninteg help holdver ignorearch
|
opts=('allsource asdeps check clean config force geninteg help holdver ignorearch install
|
||||||
install key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract
|
key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract noprepare
|
||||||
noprepare noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg
|
noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg skippgpcheck
|
||||||
skippgpcheck source syncdeps verifysource version'
|
source syncdeps verifysource version'
|
||||||
'A L R S c d e f g h i m o p r s')
|
'A L R S c d e f g h i m o p r s')
|
||||||
_arch_ptr2comp opts
|
_arch_ptr2comp opts
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -586,7 +586,6 @@ _makepkg_longopts=(
|
||||||
'--syncdeps[Install missing dependencies with pacman]'
|
'--syncdeps[Install missing dependencies with pacman]'
|
||||||
'--source[Generate a source-only tarball without downloading sources]'
|
'--source[Generate a source-only tarball without downloading sources]'
|
||||||
'--allsource[Generate a source-only tarball including downloaded source]'
|
'--allsource[Generate a source-only tarball including downloaded source]'
|
||||||
'--asroot[Allow makepkg to run as root user]'
|
|
||||||
'--check[Run check() function in the PKGBUILD]'
|
'--check[Run check() function in the PKGBUILD]'
|
||||||
'--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files'
|
'--config[Use an alternate config file instead of '@sysconfdir@/makepkg.conf']: :_files'
|
||||||
'--holdver[Prevent automatic version bumping for development PKGBUILDs]'
|
'--holdver[Prevent automatic version bumping for development PKGBUILDs]'
|
||||||
|
|
Loading…
Add table
Reference in a new issue