[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 6e373da8e1c73f79d0ccbd723f170ec8e100caf2

Ville Skyttä ville.skytta at iki.fi
Tue Mar 30 17:50:40 UTC 2010


The following commit has been merged in the master branch:
commit 27952228d70b18e2663ee0e475079628c32d482d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Mar 30 20:26:28 2010 +0300

    Clean up cryptsetup option completions.

diff --git a/contrib/cryptsetup b/contrib/cryptsetup
index 03ec2a3..1c97958 100644
--- a/contrib/cryptsetup
+++ b/contrib/cryptsetup
@@ -30,11 +30,10 @@ _cryptsetup()
     _get_first_arg
     if [ -z $arg ]; then
         if [[ "$cur" == -* ]]; then
-            COMPREPLY=( $( compgen -W '--hash -h --cipher -c\
-                --verify-passphrase -y --key-file -d --master-key-file \
-                --key-slot -S  --key-size -s --size -b --offset -o --skip \
-                -p --readonly --iter-time -i --batch-mode -q --timeout -t \
-                --tries -T --align-payload= --version' -- "$cur" ) )
+            COMPREPLY=( $( compgen -W '--hash --cipher --verify-passphrase \
+                --key-file --master-key-file --key-slot --key-size --size \
+                --offset --skip --readonly --iter-time --batch-mode --timeout \
+                --tries --align-payload --version' -- "$cur" ) )
         else
             COMPREPLY=( $( compgen -W 'create remove status resize luksFormat \
                 luksOpen luksClose luksSuspend luksResume luksAddKey \

-- 
bash-completion



More information about the Bash-completion-commits mailing list