diff options
author | Jean Delvare <jdelvare@suse.de> | 2010-11-02 18:56:08 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2010-11-02 18:56:08 +0100 |
commit | 1141804c4f74ecc622627468ca4e213d67c62f4c (patch) | |
tree | 29ec4abb8797a2de7d33a11141eb64a0083dcdf6 /bash_completion | |
parent | 5876294dc4fe00e19114ba6a8e96c3b4148d4214 (diff) | |
download | quilt-1141804c4f74ecc622627468ca4e213d67c62f4c.tar.gz |
Add bash completion for revert command.
Diffstat (limited to 'bash_completion')
-rw-r--r-- | bash_completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion index 91d3739..2d31e76 100644 --- a/bash_completion +++ b/bash_completion @@ -97,7 +97,7 @@ _quilt_completion() # quilt sub commands cmds='add annotate applied delete diff edit files fold fork graph \ grep header import mail new next patches pop previous push refresh \ - remove rename series setup snapshot top unapplied' + remove rename revert series setup snapshot top unapplied' # if no command were given, complete on commands if [[ $COMP_CWORD -eq 1 ]] ; then @@ -253,7 +253,7 @@ _quilt_completion() ;; esac ;; - remove) + remove|revert) case $prev in -P) COMPREPLY=( $( compgen -W "$(quilt applied 2>/dev/null)" -- $cur ) ) |