summaryrefslogtreecommitdiff
path: root/completions/smartctl
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/smartctl
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/smartctl')
-rw-r--r--completions/smartctl30
1 files changed, 15 insertions, 15 deletions
diff --git a/completions/smartctl b/completions/smartctl
index bc0d0c01..3e952aa2 100644
--- a/completions/smartctl
+++ b/completions/smartctl
@@ -72,7 +72,7 @@ _smartctl_presets()
}
_smartctl_test()
{
- [[ $cur == @(pending|scttempint|vendor), ]] && return 0
+ [[ $cur == @(pending|scttempint|vendor), ]] && return
COMPREPLY=( $( compgen -W 'offline short long conveyance select,
select,redo select,next afterselect,on afterselect,off pending,
scttempint, vendor,' -- "$cur" ) )
@@ -100,55 +100,55 @@ _smartctl()
;;
-d|--device)
_smartctl_device
- return 0
+ return
;;
-T|--tolerance)
_smartctl_tolerance
- return 0
+ return
;;
-b|--badsum)
_smartctl_badsum
- return 0
+ return
;;
-r|--report)
_smartctl_report
- return 0
+ return
;;
-n|--nocheck)
_smartctl_powermode
- return 0
+ return
;;
-s|--smart|-o|--offlineauto|-S|--saveauto)
_smartctl_feature
- return 0
+ return
;;
-l|--log)
_smartctl_log
- return 0
+ return
;;
-v|--vendorattribute)
_smartctl_vendorattribute
- return 0
+ return
;;
-F|--firmwarebug)
_smartctl_firmwarebug
- return 0
+ return
;;
-P|--presets)
_smartctl_presets
- return 0
+ return
;;
-B|--drivedb)
_smartctl_drivedb
- return 0
+ return
;;
-t|--test)
_smartctl_test
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '--help --version --info --all --xall
@@ -165,4 +165,4 @@ _smartctl()
} &&
complete -F _smartctl smartctl
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh