summaryrefslogtreecommitdiff
path: root/etc/completions/_cryptsetup
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-16 22:33:46 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-16 22:33:46 +0200
commit5b3d8a2b48fe10dee44c24a541cab809059780f9 (patch)
tree9eb49a5b8df281f40efe5b62a60a6ac939f3f25a /etc/completions/_cryptsetup
parent36e217ea01204377aefacdf3e7c9a7b667cb3d00 (diff)
completions: more improvements
Diffstat (limited to 'etc/completions/_cryptsetup')
-rw-r--r--etc/completions/_cryptsetup6
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 "$@"