about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2018-08-28 17:37:14 +0200
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-08-28 17:37:14 +0200
commite104d0a6fe7b17c72d74b43fd45e03387f0535e2 (patch)
tree88ea24ff388682798924497bff2091595132d682
parentab8a1a582458da6a68b720683941020ea24945bf (diff)
downloadzsh-e104d0a6fe7b17c72d74b43fd45e03387f0535e2.tar.gz
zsh-e104d0a6fe7b17c72d74b43fd45e03387f0535e2.tar.xz
zsh-e104d0a6fe7b17c72d74b43fd45e03387f0535e2.zip
unposted: correct completion argument order for dkms
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Linux/Command/_dkms6
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ae72da55..0f24bd619 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2018-08-28  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
+	* unposted: Completion/Linux/Command/_dkms: correct
+	completion argument order
+
 	* unposted: Completion/Unix/Command/_strings: completion for
 	argument to -s was missing
 
diff --git a/Completion/Linux/Command/_dkms b/Completion/Linux/Command/_dkms
index 7ea34aa2e..a0a666e33 100644
--- a/Completion/Linux/Command/_dkms
+++ b/Completion/Linux/Command/_dkms
@@ -122,13 +122,13 @@ case $cmd in
   ;|
   add)
     args+=(
-      '2:path:_directories'
-      '3:tarball:_files -g "*.tar(-.)"'
+      '3:path:_directories'
+      '4:tarball:_files -g "*.tar(-.)"'
     )
   ;;
   install)
     args+=(
-      '2:rpm file:_files -g "*.rpm(-.)"'
+      '3:rpm file:_files -g "*.rpm(-.)"'
     )
   ;;
 esac