[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 7a9aaaf8f313694354c641689a1bd66262d53159

Ville Skyttä ville.skytta at iki.fi
Sat Apr 18 10:22:25 UTC 2009


The following commit has been merged in the master branch:
commit b2a5ef5f458042046a3e95e95b1a00a3963bd814
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Apr 18 13:16:58 2009 +0300

    Add -n/--nocheck completion.

diff --git a/to_review/smartctl b/to_review/smartctl
index fb578f8..84825a3 100644
--- a/to_review/smartctl
+++ b/to_review/smartctl
@@ -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 ) )

-- 
bash-completion



More information about the Bash-completion-commits mailing list