Update completions

This commit is contained in:
Dimitris Zlatanidis 2015-06-04 04:38:43 +03:00
parent 144eae3189
commit 730a30da2e
2 changed files with 2 additions and 1 deletions

View file

@ -4,7 +4,7 @@ _slpkg()
cur=${COMP_WORDS[COMP_CWORD]} cur=${COMP_WORDS[COMP_CWORD]}
if [[ "$cur" == -* ]]; then if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W "--help --version update upgrade repo-add repo-remove repo-list repo-info slpkg list --add --remove build install build-install config --index --installed --upgrade --color --skip" -- $cur )) COMPREPLY=( $( compgen -W "--help --version update upgrade repo-add repo-remove repo-list repo-info slpkg list --add --remove build install build-install config --index --installed --upgrade --color --skip --resolve-off" -- $cur ))
else else
_filedir _filedir

View file

@ -24,6 +24,7 @@ complete --command slpkg --short-option p --long-option color --description 'add
complete --command slpkg --long-option add --description 'additional options for blacklist and queue' complete --command slpkg --long-option add --description 'additional options for blacklist and queue'
complete --command slpkg --long-option remove --description 'additional options for blacklist and queue' complete --command slpkg --long-option remove --description 'additional options for blacklist and queue'
complete --command slpkg --long-option skip --description 'additional options for upgrade packages' complete --command slpkg --long-option skip --description 'additional options for upgrade packages'
complete --command slpkg --long-option resolve-off --description 'additional options to on/off automatic resolve dependencies'
complete --command slpkg -a list --description 'option for print list to blacklist and queue' complete --command slpkg -a list --description 'option for print list to blacklist and queue'
complete --command slpkg -a build --description 'build packages from queue' complete --command slpkg -a build --description 'build packages from queue'
complete --command slpkg -a install --description 'install packages from queue' complete --command slpkg -a install --description 'install packages from queue'