diff options
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()                                  "$cur" ) )                              return 0                              ;; -                    *) -                        _bpftool_once_attr 'file' -                        if _bpftool_search_list 'xlated'; then -                            COMPREPLY+=( $( compgen -W 'opcodes visual linum' -- \ -                                "$cur" ) ) -                        else -                            COMPREPLY+=( $( compgen -W 'opcodes linum' -- \ -                                "$cur" ) ) -                        fi -                        return 0 -                        ;; +                        *) +                            _bpftool_once_attr 'file' +                            if _bpftool_search_list 'xlated'; then +                                COMPREPLY+=( $( compgen -W 'opcodes visual linum' -- \ +                                    "$cur" ) ) +                            else +                                COMPREPLY+=( $( compgen -W 'opcodes linum' -- \ +                                    "$cur" ) ) +                            fi +                            return 0 +                            ;;                      esac                      ;;                  pin)  |