diff options
author | Martin Quinson <mquinson@debian.org> | 2005-08-11 16:44:12 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2005-08-11 16:44:12 +0000 |
commit | ecc6c5aed0534129d0270d9d03ff1f3a5f8f278b (patch) | |
tree | 8d26452ebb663ae05613bfb6e8d97d2ea85782f5 /bash_completion | |
parent | ed3c2082063215a776da5ab76d95757d2f81c5e5 (diff) | |
download | quilt-ecc6c5aed0534129d0270d9d03ff1f3a5f8f278b.tar.gz |
add completion of the header command [Joe Green]
Diffstat (limited to 'bash_completion')
-rw-r--r-- | bash_completion | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion index 0136f51..d0fde74 100644 --- a/bash_completion +++ b/bash_completion @@ -96,8 +96,8 @@ _quilt_completion() # quilt sub commands cmds='add annotate applied delete diff edit files fold fork graph \ - grep import new next patches pop previous push refresh remove \ - rename series setup snapshot top unapplied' + grep header import new next patches pop previous push refresh \ + remove rename series setup snapshot top unapplied' # if no command were given, complete on commands if [[ $COMP_CWORD -eq 1 ]] ; then @@ -185,6 +185,9 @@ _quilt_completion() _longopt grep COMPREPLY=( ${COMPREPLY[@]:-} $( compgen -W "-h" -- $cur ) ) ;; + header) + COMPREPLY=( $( compgen -W "-a -e -h -r --backup --strip-diffstat --strip-trailing-whitespace $(quilt series)" -- $cur ) ) + ;; import) case $prev in -p) |