diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-04-25 18:30:11 -0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-04-26 00:45:14 -0400 |
commit | 8ed1875bf3a77d1653b895e41774aec9a341a97f (patch) | |
tree | 3d13ca7dc8dd49fbd4b0e02f969daeee66d76836 /tools/bpf/bpftool/bash-completion | |
parent | 4a714feefd99c25c7304b43ac58c9d5c0304e7cb (diff) |
bpftool: fix indendation in bash-completion/bpftool
Fix misaligned default case branch for `prog dump` sub-command.
Reported-by: Quentin Monnet <quentin.monnet@netronome.com>
Cc: Yonghong Song <yhs@fb.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/bash-completion')
-rw-r--r-- | tools/bpf/bpftool/bash-completion/bpftool | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tools/bpf/bpftool/bash-completion/bpftool b/tools/bpf/bpftool/bash-completion/bpftool index bca91d04ed35..50e402a5a9c8 100644 --- a/tools/bpf/bpftool/bash-completion/bpftool +++ b/tools/bpf/bpftool/bash-completion/bpftool | |||
@@ -273,17 +273,17 @@ _bpftool() | |||
273 | "$cur" ) ) | 273 | "$cur" ) ) |
274 | return 0 | 274 | return 0 |
275 | ;; | 275 | ;; |
276 | *) | 276 | *) |
277 | _bpftool_once_attr 'file' | 277 | _bpftool_once_attr 'file' |
278 | if _bpftool_search_list 'xlated'; then | 278 | if _bpftool_search_list 'xlated'; then |
279 | COMPREPLY+=( $( compgen -W 'opcodes visual linum' -- \ | 279 | COMPREPLY+=( $( compgen -W 'opcodes visual linum' -- \ |
280 | "$cur" ) ) | 280 | "$cur" ) ) |
281 | else | 281 | else |
282 | COMPREPLY+=( $( compgen -W 'opcodes linum' -- \ | 282 | COMPREPLY+=( $( compgen -W 'opcodes linum' -- \ |
283 | "$cur" ) ) | 283 | "$cur" ) ) |
284 | fi | 284 | fi |
285 | return 0 | 285 | return 0 |
286 | ;; | 286 | ;; |
287 | esac | 287 | esac |
288 | ;; | 288 | ;; |
289 | pin) | 289 | pin) |