diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-11-22 12:25:56 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-11-22 12:25:56 -0800 |
commit | 658abc770600556268fd1a7cab29e905fb83bf49 (patch) | |
tree | 0dab9b42dd01559a828cd90b37ebbb5a6a501b41 /etc | |
parent | 76d5d359a396101b93cf9a362cba48ffb7132740 (diff) | |
download | vyatta-cfg-658abc770600556268fd1a7cab29e905fb83bf49.tar.gz vyatta-cfg-658abc770600556268fd1a7cab29e905fb83bf49.zip |
Add warning if using "commit confirm" instead of "commit-confirm".
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index c62f51a..d7b849c 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -106,6 +106,9 @@ commit () next=0; elif [ "$arg" == "comment" ]; then next=1 + elif [ "$arg" == "confirm" ]; then + echo Use commit-confirm command + return 1; else args[${#args[@]}]="$arg" fi |