diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-08-16 22:33:46 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-08-16 22:33:46 +0200 |
commit | 5b3d8a2b48fe10dee44c24a541cab809059780f9 (patch) | |
tree | 9eb49a5b8df281f40efe5b62a60a6ac939f3f25a /etc/completions/_cryptsetup | |
parent | 36e217ea01204377aefacdf3e7c9a7b667cb3d00 (diff) |
completions: more improvements
Diffstat (limited to 'etc/completions/_cryptsetup')
-rw-r--r-- | etc/completions/_cryptsetup | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/completions/_cryptsetup b/etc/completions/_cryptsetup index 854bfd2..2c06b9a 100644 --- a/etc/completions/_cryptsetup +++ b/etc/completions/_cryptsetup @@ -68,7 +68,8 @@ function _cryptsetup_arguments { esac } -_arguments \ +function _cryptsetup { + _arguments \ '(-v --verbose)'{-v,--verbose}'[enable verbose mode]' \ '--debug[enable debug mode]' \ '(-h --hash)'{-h,--hash}'[hash algorithm]:hash algorithm' \ @@ -96,3 +97,6 @@ _arguments \ '--version[show version information]' \ ':action:_cryptsetup_action' \ '*::arguments:_cryptsetup_arguments' +} + +_cryptsetup "$@" |