File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -89,28 +89,36 @@ _comp_cmd_lintian()
89
89
case $prev in
90
90
-C | --check-part | -X | --dont-check-part)
91
91
_comp_cmd_lintian__checks
92
+ return
92
93
;;
93
94
-T | --tags | --suppress-tags)
94
95
_comp_cmd_lintian__tags
96
+ return
95
97
;;
96
98
--tags-from-file | --suppress-tags-from-file | --cfg | -p | \
97
99
--packages-file)
98
100
_filedir
101
+ return
99
102
;;
100
103
--lab | --archivedir | --dist | --root)
101
104
_filedir -d
105
+ return
102
106
;;
103
107
--color)
104
108
COMPREPLY=($( compgen -W " never always auto html" -- " $cur " ) )
109
+ return
105
110
;;
106
111
-U | --unpack-info)
107
112
_comp_cmd_lintian__infos
113
+ return
108
114
;;
109
115
--area | --section)
110
116
COMPREPLY=($( compgen -W " main contrib non-free" -- " $cur " ) )
117
+ return
118
+ ;;
119
+ --arch)
120
+ return
111
121
;;
112
- --arch) ;;
113
-
114
122
esac
115
123
fi
116
124
Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ _comp_cmd_python()
62
62
return
63
63
;;
64
64
! (? (* /)python* ([0-9.])| ? (* /)pypy* ([0-9.])| -? ))
65
- [[ $cword -lt 2 || ${words[cword - 2]} != -[QWX] ]] && _filedir
65
+ if [[ $cword -lt 2 || ${words[cword - 2]} != -[QWX] ]]; then
66
+ _filedir
67
+ return
68
+ fi
66
69
;;
67
70
esac
68
71
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ _comp_cmd_smartctl()
54
54
case $prev in
55
55
--quietmode | -${noargopts} q)
56
56
COMPREPLY=($( compgen -W ' errorsonly silent noserial' -- " $cur " ) )
57
+ return
57
58
;;
58
59
--device | -${noargopts} d)
59
60
_comp_cmd_smartctl__device
You can’t perform that action at this time.
0 commit comments