[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 4a2ba6a38d1af787fc0ecb3fa91d5135d38623b8

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


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

    Add samsung3, swapid to --firmwarebug.

diff --git a/to_review/smartctl b/to_review/smartctl
index 6ca6c1b..9c28250 100644
--- a/to_review/smartctl
+++ b/to_review/smartctl
@@ -1,7 +1,7 @@
 # -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
 # ex: ts=8 sw=8 noet filetype=sh
 #
-# bash completion for smartctl
+# bash completion for smartctl(8)
 
 have smartctl && {
 _smartctl_quietmode()
@@ -50,7 +50,8 @@ _smartctl_vendorattribute()
 }
 _smartctl_firmwarebug()
 {
-	COMPREPLY=( $( compgen -W 'none samsung samsung2' -- $cur ) )
+	COMPREPLY=( $( compgen -W 'none samsung samsung2 samsung3 swapid' \
+		-- $cur ) )
 }
 _smartctl_presets()
 {

-- 
bash-completion



More information about the Bash-completion-commits mailing list