Move CLI params parsing to its own lib
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 4 Oct 2019 19:00:01 +0000 (15:00 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 8 Oct 2019 14:23:03 +0000 (10:23 -0400)
commit5869b17917abc1d8db6b6c1696e00b5f2ec24eda
treef5605f5ab3ecc070a3c93f6ab93aa2a5a8e2eb45
parent9a04e1a93faf83759056240c9eea704cbaef181c
Move CLI params parsing to its own lib

This will allow using it for parameter parsing in a test, for
convenience.

The sharp-eyed reader will have noticed that this patch also removes
unused structures from src/cli/babeltrace2-cfg-cli-args.c.  These were
likely forgotten there when the parameter parsing code was moved to its
own file.

Change-Id: Ibc7ecb238905051492718f1d176c0fb5f0c172a8
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2135
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
configure.ac
src/Makefile.am
src/cli/Makefile.am
src/cli/babeltrace2-cfg-cli-args.c
src/cli/babeltrace2-cfg-cli-params-arg.c [deleted file]
src/cli/babeltrace2-cfg-cli-params-arg.h [deleted file]
src/param-parse/Makefile.am [new file with mode: 0644]
src/param-parse/param-parse.c [new file with mode: 0644]
src/param-parse/param-parse.h [new file with mode: 0644]
This page took 0.024962 seconds and 4 git commands to generate.