File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ _comp_cmd_ebtables()
5
5
local cur prev words cword was_split comp_args
6
6
_comp_initialize -s -- " $@ " || return
7
7
8
- local table chain=' s/^Bridge chain: \([^ ,]\{1,\}\).*$/\1/p' \
8
+ local table= " " chain=' s/^Bridge chain: \([^ ,]\{1,\}\).*$/\1/p' \
9
9
targets=' ACCEPT DROP CONTINUE RETURN'
10
10
11
11
[[ ${words[*]} =~ [[:space:]]-(t| -table=? )[[:space:]]* ([^[:space:]]+) ]] &&
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ _comp_cmd_iptables()
5
5
local cur prev words cword was_split comp_args
6
6
_comp_initialize -s -- " $@ " || return
7
7
8
- local table chain=' s/^Chain \([^ ]\{1,\}\).*$/\1/p'
8
+ local table= " " chain=' s/^Chain \([^ ]\{1,\}\).*$/\1/p'
9
9
10
10
[[ ${words[*]} =~ [[:space:]]-(t| -table=? )[[:space:]]* ([^[:space:]]+) ]] &&
11
11
table=" -t ${BASH_REMATCH[2]} "
You can’t perform that action at this time.
0 commit comments