diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-10-24 00:05:42 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2007-10-24 00:05:42 -0400 |
commit | c07cdb7cee184beceef44e23006dfd81e48360c3 (patch) | |
tree | e39c39f9b15d2917bc29aba93a5a32ccc3238788 /bash-completion.sh | |
parent | 28fcde039b3d5456da4c5a92eaf405b5cca93111 (diff) |
Track files per package and add command to list them.
Diffstat (limited to 'bash-completion.sh')
-rw-r--r-- | bash-completion.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bash-completion.sh b/bash-completion.sh index b0b0ce8..782f3e9 100644 --- a/bash-completion.sh +++ b/bash-completion.sh @@ -1,6 +1,6 @@ __razor_commands () { local IFS=$'\n' - COMPREPLY=($(IFS=: compgen -S' ' -W "list-requires:list-provides:list-files:list-file-packages:what-requires:what-provides:import-yum:import-rpmdb:validate:update:diff" -- $1)) + COMPREPLY=($(IFS=: compgen -S' ' -W "list-requires:list-provides:list-files:list-file-packages:list-package-files:what-requires:what-provides:import-yum:import-rpmdb:validate:update:diff" -- $1)) } __razor_packages () { @@ -28,7 +28,8 @@ __razor() { __razor_commands $cur else case "${COMP_WORDS[1]}" in - list-requires|list-provides) __razor_packages $cur ;; + list-requires|list-provides|list-package-files) + __razor_packages $cur ;; list-files|list-file-packages) __razor_files $cur ;; what-requires) __razor_requires $cur ;; what-provides) __razor_provides $cur ;; |