summary refs log tree commit diff
path: root/Completion/Unix/Command/_dmidecode
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-09-03 12:31:22 +0200
committerOliver Kiddle <opk@zsh.org>2016-09-03 12:31:22 +0200
commit48c20d74a7aa5e91619d84fc36f9bd7831eb4174 (patch)
tree6fee0ad5faf89445b9bf1e3b5f4d2f0da870cdc9 /Completion/Unix/Command/_dmidecode
parent972423629f115b710c385cff0daa60182e5f33e6 (diff)
downloadzsh-48c20d74a7aa5e91619d84fc36f9bd7831eb4174.tar.gz
zsh-48c20d74a7aa5e91619d84fc36f9bd7831eb4174.tar.xz
zsh-48c20d74a7aa5e91619d84fc36f9bd7831eb4174.zip
39165: update options to correspond to latest versions of software in various functions
Diffstat (limited to 'Completion/Unix/Command/_dmidecode')
-rw-r--r--Completion/Unix/Command/_dmidecode17
1 files changed, 10 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_dmidecode b/Completion/Unix/Command/_dmidecode
index 0ff56113d..5701a9403 100644
--- a/Completion/Unix/Command/_dmidecode
+++ b/Completion/Unix/Command/_dmidecode
@@ -1,10 +1,13 @@
 #compdef dmidecode
 
-_arguments \
-  '(-d --dev-mem)'{-d,--dev-mem}':memory device:_files' \
+_arguments -s \
+  '(-d --dev-mem --from-dump)'{-d+,--dev-mem=}'[read memory from specified file]:memory device [/dev/mem]:_files' \
+  '(-)'{-h,--help}'[display usage information]' \
   '(-q --quiet -u --dump)'{-q,--quiet}'[be less verbose]' \
-  '(-t --type -u --dump -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)' \
-  '(-t --type)'{-t,--type}':types to display:(bios system baseboard chassis processor memory cache connector slot)' \
-  '(-q --quiet -u --dump -s --string)'{-u,--dump}'[do not decode]' \
-  '(-h --help)'{-h,--help}'[display usage information]' \
-  '(-V --version)'{-V,--version}'[display version information]'
+  '(--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)' \
+  '(-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' \
+  "--no-sysfs[don't attempt to read DMI data from sysfs files]" \
+  '(-)'{-V,--version}'[display version information]'