Commit 997db0195a5920a3da49476b5920fd488c597184
- Date: Thu Mar 01 02:06:06 +0000 2007
- Committer: fbos (fbos@d6c2ea82-c31b-0410-8381-e9c44f9824c5)
- Author: fbos (fbos@d6c2ea82-c31b-0410-8381-e9c44f9824c5)
- Commit SHA1: 997db0195a5920a3da49476b5920fd488c597184
- Tree SHA1: 23905f1ba5945eb7d8826e9dc89612e1ff35da6d
r75 | fbos | 2007-01-31 12:25:15 -0500 (mer., 31 janv. 2007) | 1 line
Added switch to the list of bash completions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/piston/trunk@81 d6c2ea82-c31b-0410-8381-e9c44f9824c5
Commit diff
| |   |
| 6 | 6 | COMPREPLY=() |
| 7 | 7 | cur=${COMP_WORDS[COMP_CWORD]} |
| 8 | 8 | |
| 9 | | commands='update convert help unlock lock import' |
| 9 | commands='update convert help unlock lock import switch' |
| 10 | 10 | |
| 11 | 11 | if [[ $COMP_CWORD -eq 1 ]] ; then |
| 12 | 12 | if [[ "$cur" == -* ]]; then |
| toggle raw diff |
--- a/contrib/piston
+++ b/contrib/piston
@@ -6,7 +6,7 @@ _piston()
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}
- commands='update convert help unlock lock import'
+ commands='update convert help unlock lock import switch'
if [[ $COMP_CWORD -eq 1 ]] ; then
if [[ "$cur" == -* ]]; then
|