diff options
author | Quentin Monnet <quentin.monnet@netronome.com> | 2019-07-08 16:05:46 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-07-08 18:20:34 +0300 |
commit | 8fc9f8bedf1bdaea48382ae2e3dd558e2b939cee (patch) | |
tree | f6ce48b546e604f7b99a51739b851c18b314b47e /net/netlabel/netlabel_unlabeled.h | |
parent | bef8e2639242e7f7214f1ab3b37ace1415a4f750 (diff) | |
download | linux-8fc9f8bedf1bdaea48382ae2e3dd558e2b939cee.tar.xz |
tools: bpftool: add completion for bpftool prog "loadall"
Bash completion for proposing the "loadall" subcommand is missing. Let's
add it to the completion script.
Add a specific case to propose "load" and "loadall" for completing:
$ bpftool prog load
^ cursor is here
Otherwise, completion considers that $command is in load|loadall and
starts making related completions (file or directory names, as the
number of words on the command line is below 6), when the only suggested
keywords should be "load" and "loadall" until one has been picked and a
space entered after that to move to the next word.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/netlabel/netlabel_unlabeled.h')
0 files changed, 0 insertions, 0 deletions