about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-03-16 10:42:14 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-03-16 10:42:26 +0000
commit072e75f9b8a89711a99fb3c6ebd635ad7c23f37b (patch)
tree856cb2477b114d3a2d2a382afac9934cf36dee29
parent7c662bf4d29d22a14929b92fc4aa2f3020aec4f2 (diff)
downloadzsh-072e75f9b8a89711a99fb3c6ebd635ad7c23f37b.tar.gz
zsh-072e75f9b8a89711a99fb3c6ebd635ad7c23f37b.tar.xz
zsh-072e75f9b8a89711a99fb3c6ebd635ad7c23f37b.zip
40855: _dmidecode: Fix _arguments syntax error.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_dmidecode2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ffd7ab7d..e445e9973 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-16  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 40855: Completion/Unix/Command/_dmidecode: Fix _arguments
+	syntax error.
+
 2017-03-14  Oliver Kiddle  <opk@zsh.org>
 
 	* 40843: Completion/Unix/Command/_ruby: update options for
diff --git a/Completion/Unix/Command/_dmidecode b/Completion/Unix/Command/_dmidecode
index 5701a9403..b48608dae 100644
--- a/Completion/Unix/Command/_dmidecode
+++ b/Completion/Unix/Command/_dmidecode
@@ -5,7 +5,7 @@ _arguments -s \
   '(-)'{-h,--help}'[display usage information]' \
   '(-q --quiet -u --dump)'{-q,--quiet}'[be less verbose]' \
   '(--type -u --dump --dump-bin -s --string)'{-s+,--string=}':DMI string:(bios-vendor bios-version bios-release-date system-manufacturer system-product-name system-version system-serial-number system-uuid baseboard-manufacturer baseboard-product-name baseboard-version baseboard-serial-number baseboard-asset-tag chassis-manufacturer chassis-type chassis-version chassis-serial-number chassis-asset-tag processor-family processor-manufacturer processor-version processor-frequency)' \
-  '*(-s --string --dump-bin)'{-t+,--type=}'[only display entries of specified type]:entry type:(bios system baseboard chassis processor memory cache connector slot)' \
+  '(-s --string --dump-bin)*'{-t+,--type=}'[only display entries of specified type]:entry type:(bios system baseboard chassis processor memory cache connector slot)' \
   '(-q --quiet -u --dump -s --string)'{-u,--dump}"[don't decode entries]" \
   '--dump-bin=[dump DMI data to a binary file]:file:_files' \
   '(-d --dev-mem)--from-dump=[read DMI data from a binary file]:file:_files' \