summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r--src/fedpkg.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index 2d0f4d8..ea8fffd 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -93,7 +93,7 @@ _fedpkg()
local after= after_more=
case $command in
- help|clog|gimmespec|giturl|lint|mockbuild|new|push|unused-patches|update|verrel)
+ clog|gimmespec|giturl|lint|mockbuild|new|push|unused-patches|update|verrel)
;;
build)
options="--nowait --background --skip-tag --scratch"
@@ -130,6 +130,9 @@ _fedpkg()
after="file"
after_more=true
;;
+ help)
+ after="command"
+ ;;
import)
options="--create"
options_branch="--branch"
@@ -241,6 +244,7 @@ _fedpkg()
case $after in
file) _filedir_exclude_paths; compgen_extra=${COMPREPLY[@]} ;;
srpm) _filedir_exclude_paths "*.src.rpm"; compgen_extra=${COMPREPLY[@]} ;;
+ command) compgen_extra="${commands}" ;;
branch) after_options="$(_fedpkg_branch "$path")" ;;
package) after_options="$(_fedpkg_package "$cur")";;
esac