about summary refs log tree commit diff
path: root/Completion/Linux/Command/_kpartx
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux/Command/_kpartx')
-rw-r--r--Completion/Linux/Command/_kpartx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Linux/Command/_kpartx b/Completion/Linux/Command/_kpartx
index 8f09c416d..79a8dd8a7 100644
--- a/Completion/Linux/Command/_kpartx
+++ b/Completion/Linux/Command/_kpartx
@@ -1,11 +1,11 @@
 #compdef kpartx
 
 _arguments -s -S : \
-  '-a[add partition mappings]' \
+  '(-d -u -l)-a[add partition mappings]' \
   '-r[read-only partition mappings]' \
-  '-d[delete partition mappings]' \
-  '-u[update partition mappings]' \
-  '-l[list partition mappings]' \
+  '(-a -u -l)-d[delete partition mappings]' \
+  '(-a -d -l)-u[update partition mappings]' \
+  '(-a -d -u)-l[list partition mappings]' \
   '-p[set device name-partition number delimiter]' \
   '-f[force creation of mappings]' \
   '-g[force GUID partition table]' \