commit | 121c58bed01a45043381ce52b8556e851dbaa123 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Jun 28 14:41:42 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sun Jul 01 01:01:50 2018 +0200 |
tree | 4f77c5ca28c58d7c6330a8b0a30b33c5b3d94a77 | |
parent | ef347a340b1a8507c22ee3cf981cd5cd64188431 [diff] |
tools: bpftool: deal with options upfront Remove options (in getopt() sense, i.e. starting with a dash like -n or --NAME) while parsing arguments for bash completions. This allows us to refer to position-dependent parameters better, and complete options at any point. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>