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

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


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

    Fix swapped arguments to --tolerance and --badsum.

diff --git a/to_review/smartctl b/to_review/smartctl
index fc50d11..4005de9 100644
--- a/to_review/smartctl
+++ b/to_review/smartctl
@@ -14,11 +14,12 @@ _smartctl_device()
 }
 _smartctl_tolerance()
 {
-	COMPREPLY=( $( compgen -W 'warn exit ignore' -- $cur ) )
+	COMPREPLY=( $( compgen -W 'normal conservative permissive \
+		verypermissive' -- $cur ) )
 }
 _smartctl_badsum()
 {
-	COMPREPLY=( $( compgen -W 'normal conservative permissive verypermissive' -- $cur ) )
+	COMPREPLY=( $( compgen -W 'warn exit ignore' -- $cur ) )
 }
 _smartctl_report()
 {

-- 
bash-completion



More information about the Bash-completion-commits mailing list