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()
8989 case $prev in
9090 -C | --check-part | -X | --dont-check-part)
9191 _comp_cmd_lintian__checks
92+ return
9293 ;;
9394 -T | --tags | --suppress-tags)
9495 _comp_cmd_lintian__tags
96+ return
9597 ;;
9698 --tags-from-file | --suppress-tags-from-file | --cfg | -p | \
9799 --packages-file)
98100 _filedir
101+ return
99102 ;;
100103 --lab | --archivedir | --dist | --root)
101104 _filedir -d
105+ return
102106 ;;
103107 --color)
104108 COMPREPLY=($( compgen -W " never always auto html" -- " $cur " ) )
109+ return
105110 ;;
106111 -U | --unpack-info)
107112 _comp_cmd_lintian__infos
113+ return
108114 ;;
109115 --area | --section)
110116 COMPREPLY=($( compgen -W " main contrib non-free" -- " $cur " ) )
117+ return
118+ ;;
119+ --arch)
120+ return
111121 ;;
112- --arch) ;;
113-
114122 esac
115123 fi
116124
Original file line number Diff line number Diff line change @@ -62,7 +62,10 @@ _comp_cmd_python()
6262 return
6363 ;;
6464 ! (? (* /)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
6669 ;;
6770 esac
6871
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ _comp_cmd_smartctl()
5454 case $prev in
5555 --quietmode | -${noargopts} q)
5656 COMPREPLY=($( compgen -W ' errorsonly silent noserial' -- " $cur " ) )
57+ return
5758 ;;
5859 --device | -${noargopts} d)
5960 _comp_cmd_smartctl__device
You can’t perform that action at this time.
0 commit comments