about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-06-23 21:28:50 +0000
committerClint Adams <clint@users.sourceforge.net>2007-06-23 21:28:50 +0000
commit98ca677052e47505eb3652e499ccba21aefb49ee (patch)
tree47989ba02ca7fdfc5531d9ed01cfe72bb0eb9d58
parent9534c89981eaa8205c44e6c3b56d6d57bb66f569 (diff)
downloadzsh-98ca677052e47505eb3652e499ccba21aefb49ee.tar.gz
zsh-98ca677052e47505eb3652e499ccba21aefb49ee.tar.xz
zsh-98ca677052e47505eb3652e499ccba21aefb49ee.zip
23586: completion for dmidecode.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_dmidecode10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 75bed5567..7260fe2ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-23  Clint Adams  <clint@zsh.org>
+
+	* 23586: Completion/Unix/Command/_dmidecode: completion for
+	dmidecode.
+
 2007-06-23  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 23585: Src/hist.c: handle errno when handling errors.
diff --git a/Completion/Unix/Command/_dmidecode b/Completion/Unix/Command/_dmidecode
new file mode 100644
index 000000000..0ff56113d
--- /dev/null
+++ b/Completion/Unix/Command/_dmidecode
@@ -0,0 +1,10 @@
+#compdef dmidecode
+
+_arguments \
+  '(-d --dev-mem)'{-d,--dev-mem}':memory device:_files' \
+  '(-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]'