diff options
| author | Christopher Bock <christopher@bocki.com> | 2025-04-12 13:20:15 +0200 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2025-10-23 23:04:53 +0200 |
| commit | 044267cecb0e44eab578dd091289cae9e8b963ff (patch) | |
| tree | 21908fe8b72b48bd8679521946f999283a888ffe /Completion/Unix/Command/_smartmontools | |
| parent | github #147: Clean up some leaked variables in completion functions (diff) | |
| download | zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar.gz zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar.bz2 zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar.lz zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar.xz zsh-044267cecb0e44eab578dd091289cae9e8b963ff.tar.zst zsh-044267cecb0e44eab578dd091289cae9e8b963ff.zip | |
github #131: add missing options
Diffstat (limited to 'Completion/Unix/Command/_smartmontools')
| -rw-r--r-- | Completion/Unix/Command/_smartmontools | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_smartmontools b/Completion/Unix/Command/_smartmontools index fe6496664..71454cf08 100644 --- a/Completion/Unix/Command/_smartmontools +++ b/Completion/Unix/Command/_smartmontools @@ -9,13 +9,23 @@ _arguments -s -S \ "w[print all words]" "(b v)n[suppress printing bits]" "(b n)v[print all bits from valid words]"' \ + '(--json)-j[output as JSON]' \ + '(-j)--json=-[specify JSON/YAML output format]:: : _values -S "" "output format" + "c[compact]" + "g[grep/gron]" + "o[original]" + "s[sorted]" + "v[verbose]" + "y[YAML]" + "i[implemented dev]" + "u[unimplemented dev]"' \ '(H)*'{-g+,--get=}'[get device setting]:setting:(all aam apm lookahead security wcache rcache wcreorder)' \ '(H -a --all -x --xall -H --health -i --info -c --capabilities -A --attributes --scan --scan-open)'{-a,--all}'[show all SMART information for device]' \ '(H -x --xall -a --all -H --health -i --info -c --capabilities -A --attributes --scan --scan-open)'{-x,--xall}'[show all information for device]' \ '(H 1 --scan-open --identify -x --xall -a --all -H --health -i --info -c --capabilities -A --attributes)--scan[scan for devices]' \ '(H 1 --scan --identify -x --xall -a --all -H --health -i --info -c --capabilities -A --attributes)--scan-open[scan for devices and try to open each device]' \ '(H -q --quietmode)'{-q+,--quietmode=}'[set smartctl quiet mode]:quiet mode:(errorsonly silent noserial)' \ - '(H -d --device)'{-d+,--device=}'[specify device type]:device type:(ata scsi nvme sat usbcypress usbjmicron usbprolific usbsunplus marvell areca 3ware hpt megaraid cciss auto test)' \ + '(H -d --device)'{-d+,--device=}'[specify device type]:device type:(auto test ata scsi nvme sat usbcypress usbjmicron usbprolific usbsunplus sntasmedia sntjmicron sntrealtek marvell megaraid aacraid 3ware areca cciss hpt sssraid intelliprop jmb39x jms56x)' \ '(H)*'{-T+,--tolerance=}'[specify how tolerant smartctl should be of ATA SMART command failures]:tolerance:(normal conservative permissive verypermissive)' \ '(H -b --badsum)'{-b+,--badsum=}'[set action if checksum error is detected]:action:(warn exit ignore)' \ '(H)*'{-r+,--report=}'[report transactions]:transaction type:(ioctl ataioctl scsiioctl nvmeioctl)' \ @@ -28,7 +38,7 @@ _arguments -s -S \ '(H -c --capabilities)'{-c,--capabilities}'[show device SMART capabilities]' \ '(H -A --attributes)'{-A,--attributes}'[show device SMART vendor-specific attributes and values]' \ '(H)*'{-f+,--format=}'[set output format for attributes]:format:(old brief hex,id hex,val hex)' \ - '(H)*'{-l+,--log=}'[show device log]:log:(error selftest selective directory xerror xselftest background sasphy sataphy scttemp scttempsts scttemphist scttempint scterc devstat ssd gplog smartlog nvmelog)' \ + '(H)*'{-l+,--log=}'[show device log]:log:(error selftest selective directory xerror xselftest background sasphy sataphy scttemp scttempsts scttemphist scttempint scterc devstat ssd gplog smartlog nvmelog farm)' \ '(H)*'{-v+,--vendorattribute=}'[set display option for vendor attribute]:vendor attribute:->vendorattrs' \ '(H -F --firmwarebug)'{-F+,--firmwarebug=}'[use firmware bug workaround]:bug:(none nologdir samsung samsung2 samsung3 xerrorlba swapid)' \ '(H -P --presets)'{-P+,--presets=}'[specify whether to use drive-specific presets]:preset usage:(use ignore show showall)' \ |
