summaryrefslogtreecommitdiff
path: root/etc/completions/_cryptsetup
diff options
context:
space:
mode:
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 "$@"