linux/tools/lib/subcmd
Riccardo Mancini b75f299d69 libsubcmd: add OPT_UINTEGER_OPTARG option type
This patch adds OPT_UINTEGER_OPTARG, which is the same as OPT_UINTEGER,
but also makes it possible to use the option without any value, setting
the variable to a default value, d.

Signed-off-by: Riccardo Mancini <rickyman7@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/c46749b3dff796729078352ff164d363457a3587.1629490974.git.rickyman7@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-08-31 15:44:05 -03:00
..
Build
exec-cmd.c
exec-cmd.h
help.c tools: Avoid comma separated statements 2020-10-02 10:36:36 -06:00
help.h
Makefile libsubcmd: Use -O0 with DEBUG=1 2019-11-06 15:49:39 -03:00
pager.c
pager.h
parse-options.c libsubcmd: Fix OPT_CALLBACK_SET() 2020-07-17 09:33:06 -03:00
parse-options.h libsubcmd: add OPT_UINTEGER_OPTARG option type 2021-08-31 15:44:05 -03:00
run-command.c
run-command.h
sigchain.c
sigchain.h
subcmd-config.c
subcmd-config.h
subcmd-util.h