Add -n/--nocheck completion.

This commit is contained in:
Ville Skyttä 2009-04-18 13:16:58 +03:00
parent 4073edd2af
commit b2a5ef5f45

View File

@ -25,6 +25,10 @@ _smartctl_report()
{ {
COMPREPLY=( $( compgen -W 'ioctl ataioctl scsiioctl' -- $cur ) ) COMPREPLY=( $( compgen -W 'ioctl ataioctl scsiioctl' -- $cur ) )
} }
_smartctl_powermode()
{
COMPREPLY=( $( compgen -W 'never sleep standby idle' -- $cur ) )
}
_smartctl_feature() _smartctl_feature()
{ {
COMPREPLY=( $( compgen -W 'on off' -- $cur ) ) COMPREPLY=( $( compgen -W 'on off' -- $cur ) )
@ -120,8 +124,8 @@ _smartctl()
COMPREPLY=( $( compgen -W '-h --help --usage -V --version \ COMPREPLY=( $( compgen -W '-h --help --usage -V --version \
--copyright --license-i --info -a --all -q \ --copyright --license-i --info -a --all -q \
--quietmode -d --device -T --tolerance -b --badsum \ --quietmode -d --device -T --tolerance -b --badsum \
-r --report -s --smart -o --offlineauto -S \ -r --report -n --nocheck -s --smart -o --offlineauto \
--saveauto -H --health -c --capabilities -A \ -S --saveauto -H --health -c --capabilities -A \
--attributes -l --log -v --vendorattribute -F \ --attributes -l --log -v --vendorattribute -F \
--firmwarebug -P --presets -t --test -C \ --firmwarebug -P --presets -t --test -C \
--captive -X --abort' -- $cur ) ) --captive -X --abort' -- $cur ) )