File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1435,8 +1435,7 @@ _comp_signals()
1435
1435
1436
1436
# This function completes on known mac addresses
1437
1437
#
1438
- # TODO:API: rename per conventions
1439
- _mac_addresses ()
1438
+ _comp_mac_addresses ()
1440
1439
{
1441
1440
local re=' \([A-Fa-f0-9]\{2\}:\)\{5\}[A-Fa-f0-9]\{2\}'
1442
1441
local PATH=" $PATH :/sbin:/usr/sbin"
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ _comp_deprecate_func 2.12 _get_comp_words_by_ref _comp_get_words
13
13
_comp_deprecate_func 2.12 _longopt _comp_longopt
14
14
_comp_deprecate_func 2.12 __ltrim_colon_completions _comp_ltrim_colon_completions
15
15
_comp_deprecate_func 2.12 _signals _comp_signals
16
+ _comp_deprecate_func 2.12 _mac_addresses _comp_mac_addresses
16
17
17
18
# Backwards compatibility for compat completions that use have().
18
19
# @deprecated 1.90 should no longer be used; generally not needed with
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ _comp_cmd_ether_wake()
21
21
return
22
22
fi
23
23
24
- _mac_addresses
24
+ _comp_mac_addresses
25
25
} &&
26
26
complete -F _comp_cmd_ether_wake ether-wake etherwake
27
27
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ _comp_cmd_wol()
38
38
return
39
39
fi
40
40
41
- _mac_addresses
41
+ _comp_mac_addresses
42
42
} &&
43
43
complete -F _comp_cmd_wol wol
44
44
You can’t perform that action at this time.
0 commit comments