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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Oct 2019 18:14:29 +0000 (14:14 -0400)
commitf956eb2d2b08c13e4f105fce5de566b9f2346693
tree3e33b19228c278924e2d61870685d0e099aa7652
parent98f26e22c1ccebc5baa4d7edc6ef40246cc5de18
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.025149 seconds and 4 git commands to generate.