File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ _comp_cmd_chmod()
28
28
fi
29
29
30
30
local ret
31
- _comp_count_args -n " " - i " $modearg "
31
+ _comp_count_args -i " $modearg "
32
32
33
33
case $ret in
34
34
1) ;; # mode
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _comp_cmd_chown()
32
32
local ret
33
33
34
34
# The first argument is a usergroup; the rest are filedir.
35
- _comp_count_args -n :
35
+ _comp_count_args
36
36
37
37
if (( ret == 1 )) ; then
38
38
_comp_compgen_usergroup -u
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ _comp_cmd_cryptsetup()
37
37
local ret
38
38
if _comp_get_first_arg; then
39
39
local arg=$ret
40
- _comp_count_args -n " " - a " -${noargopts} [chslSbopitTdM]"
40
+ _comp_count_args -a " -${noargopts} [chslSbopitTdM]"
41
41
local args=$ret
42
42
case $arg in
43
43
open | create | luksOpen | loopaesOpen | tcryptOpen)
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ _comp_cmd_hcitool()
49
49
if _comp_get_first_arg; then
50
50
case $ret in
51
51
name | info | dc | rssi | lq | afh | auth | key | clkoff | lst)
52
- _comp_count_args -n " "
52
+ _comp_count_args
53
53
if (( ret == 2 )) ; then
54
54
_comp_cmd_hcitool__bluetooth_addresses
55
55
fi
@@ -58,30 +58,30 @@ _comp_cmd_hcitool()
58
58
if [[ $cur == -* ]]; then
59
59
_comp_compgen -- -W ' --role --pkt-type'
60
60
else
61
- _comp_count_args -n " "
61
+ _comp_count_args
62
62
if (( ret == 2 )) ; then
63
63
_comp_cmd_hcitool__bluetooth_addresses
64
64
fi
65
65
fi
66
66
;;
67
67
sr)
68
- _comp_count_args -n " "
68
+ _comp_count_args
69
69
if (( ret == 2 )) ; then
70
70
_comp_cmd_hcitool__bluetooth_addresses
71
71
else
72
72
_comp_compgen -- -W ' master slave'
73
73
fi
74
74
;;
75
75
cpt)
76
- _comp_count_args -n " "
76
+ _comp_count_args
77
77
if (( ret == 2 )) ; then
78
78
_comp_cmd_hcitool__bluetooth_addresses
79
79
else
80
80
_comp_cmd_hcitool__bluetooth_packet_types
81
81
fi
82
82
;;
83
83
tpl | enc | clock)
84
- _comp_count_args -n " "
84
+ _comp_count_args
85
85
if (( ret == 2 )) ; then
86
86
_comp_cmd_hcitool__bluetooth_addresses
87
87
else
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ _comp_cmd_mkinitrd()
31
31
[[ ${COMPREPLY-} == * = ]] && compopt -o nospace
32
32
else
33
33
local ret
34
- _comp_count_args -n " "
34
+ _comp_count_args
35
35
36
36
case $ret in
37
37
1)
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ _comp_cmd_patch()
56
56
fi
57
57
58
58
local ret
59
- _comp_count_args -n " "
59
+ _comp_count_args
60
60
case $ret in
61
61
1)
62
62
_comp_compgen_filedir
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ _comp_cmd_setquota()
84
84
_comp_cmd_quota__parse_help " $1 "
85
85
else
86
86
local ret
87
- _comp_count_args -n " "
87
+ _comp_count_args
88
88
89
89
case $ret in
90
90
1)
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ _comp_cmd_zopflipng()
28
28
if [[ ${words[*]} != * \ --prefix= * ]]; then
29
29
# 2 png args only if --prefix not given
30
30
local ret
31
- _comp_count_args -n " "
31
+ _comp_count_args
32
32
(( ret < 3 )) && _comp_compgen_filedir png
33
33
else
34
34
# otherwise arbitrary number of png args
You can’t perform that action at this time.
0 commit comments