Add -n/--nocheck completion.
This commit is contained in:
parent
4073edd2af
commit
b2a5ef5f45
@ -25,6 +25,10 @@ _smartctl_report()
|
||||
{
|
||||
COMPREPLY=( $( compgen -W 'ioctl ataioctl scsiioctl' -- $cur ) )
|
||||
}
|
||||
_smartctl_powermode()
|
||||
{
|
||||
COMPREPLY=( $( compgen -W 'never sleep standby idle' -- $cur ) )
|
||||
}
|
||||
_smartctl_feature()
|
||||
{
|
||||
COMPREPLY=( $( compgen -W 'on off' -- $cur ) )
|
||||
@ -120,8 +124,8 @@ _smartctl()
|
||||
COMPREPLY=( $( compgen -W '-h --help --usage -V --version \
|
||||
--copyright --license-i --info -a --all -q \
|
||||
--quietmode -d --device -T --tolerance -b --badsum \
|
||||
-r --report -s --smart -o --offlineauto -S \
|
||||
--saveauto -H --health -c --capabilities -A \
|
||||
-r --report -n --nocheck -s --smart -o --offlineauto \
|
||||
-S --saveauto -H --health -c --capabilities -A \
|
||||
--attributes -l --log -v --vendorattribute -F \
|
||||
--firmwarebug -P --presets -t --test -C \
|
||||
--captive -X --abort' -- $cur ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user