mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
23586: completion for dmidecode.
This commit is contained in:
parent
9534c89981
commit
98ca677052
2 changed files with 15 additions and 0 deletions
|
@ -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.
|
||||
|
|
10
Completion/Unix/Command/_dmidecode
Normal file
10
Completion/Unix/Command/_dmidecode
Normal file
|
@ -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]'
|
Loading…
Add table
Add a link
Reference in a new issue