diff options
author | Jesse Keating <jkeating@redhat.com> | 2010-08-18 16:55:59 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-08-19 10:49:06 -0700 |
commit | 3f0b3cb746f5029024b93399b8a4c84eaf570009 (patch) | |
tree | 6660bb3fcbf19937c8c2b9b33d69ab8ab62b1ac4 /src/fedpkg.bash | |
parent | 59835d6d6001ff717fd95b742e99404c7304b4de (diff) | |
download | fedora-packager-3f0b3cb746f5029024b93399b8a4c84eaf570009.tar.gz fedora-packager-3f0b3cb746f5029024b93399b8a4c84eaf570009.tar.xz fedora-packager-3f0b3cb746f5029024b93399b8a4c84eaf570009.zip |
Add some new commands to the bash completion
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r-- | src/fedpkg.bash | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash index 6694db9..8f698e8 100644 --- a/src/fedpkg.bash +++ b/src/fedpkg.bash @@ -8,10 +8,10 @@ _fedpkg() COMPREPLY=() _get_comp_words_by_ref cur prev - commands='help build chain-build clean clog clone co commit compile diff \ - gimmespec import install lint local mockbuild new new-sources patch prep \ - push scratch-build sources srpm switch-branch tag-request unused-patches \ - specfile update upload verrel' + commands='help build chain-build clean clog clone co commit ci compile \ + diff gimmespec giturl import install lint local mockbuild new new-sources \ + patch prep push scratch-build sources srpm switch-branch tag-request \ + unused-patches update upload verrel' if [[ $COMP_CWORD -eq 1 ]] ; then if [[ "$cur" == -* ]]; then @@ -27,7 +27,7 @@ _fedpkg() return 0; ;; --arch|--arches) - COMPREPLY=( $( compgen -W 'i386 x86_64' -- "$cur" ) ) + COMPREPLY=( $( compgen -W 'i386 i586 i686 x86_64' -- "$cur" ) ) return 0; ;; --srpm) @@ -58,7 +58,7 @@ _fedpkg() clone|co) options='--branches -B --branch -b --anonymous -a' ;; - commit) + commit|ci) options='-m --message -F --file -p --push' ;; compile) @@ -91,7 +91,7 @@ _fedpkg() switch-branch) options='-l' ;; - clog|gimmespec|lint|mockbuild|new|push|tag-request|\ + clog|gimmespec|lint|mockbuild|new|giturl|push|tag-request|\ unused-patches|update|verrel) options='-h' ;; @@ -110,9 +110,9 @@ _fedpkg() -- "$cur" ) ) ;; # no further args required - help|build|clean|clog|compile|gimmespec|install|lint|local|\ - mockbuild|new|patch|prep|push|scratch-build|sources|srpm|\ - switch-branch|tag-request|unused-patches|update|verrel) + help|build|clean|clog|compile|gimmespec|giturl|install|lint|\ + local|mockbuild|new|patch|prep|push|scratch-build|sources|\ + srpm|switch-branch|tag-request|unused-patches|update|verrel) ;; *) _filedir |