summaryrefslogtreecommitdiff
path: root/etc/bash_completion.d
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-11-22 12:25:56 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-11-22 12:25:56 -0800
commit658abc770600556268fd1a7cab29e905fb83bf49 (patch)
tree0dab9b42dd01559a828cd90b37ebbb5a6a501b41 /etc/bash_completion.d
parent76d5d359a396101b93cf9a362cba48ffb7132740 (diff)
downloadvyatta-cfg-658abc770600556268fd1a7cab29e905fb83bf49.tar.gz
vyatta-cfg-658abc770600556268fd1a7cab29e905fb83bf49.zip
Add warning if using "commit confirm" instead of "commit-confirm".
Diffstat (limited to 'etc/bash_completion.d')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg3
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