mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Update completions
This commit is contained in:
parent
144eae3189
commit
730a30da2e
2 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,7 @@ _slpkg()
|
|||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
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
|
||||
_filedir
|
||||
|
|
|
@ -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 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 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 build --description 'build packages from queue'
|
||||
complete --command slpkg -a install --description 'install packages from queue'
|
||||
|
|
Loading…
Reference in a new issue