babeltrace-cfg: use --params to set parameters of latest instance
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 22 Nov 2016 08:31:44 +0000 (03:31 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:07 +0000 (14:09 -0400)
commitbdc61c706f6bc1cf609a6e9fa7be3c9fd67e56d9
treeb0c343e3634e3eefe6b388e834df2fb267455c60
parent063003164359e469b2d60cfe1c5d885e37678aff
babeltrace-cfg: use --params to set parameters of latest instance

Instead of:

    -i plugin.compcls:param=value,param2=value2

Do:

    -i plugin.compcls --params param=value,param2=value2

-p is now the short option of --params, and -P becomes the short
option of --plugin-path.

This stateful parsing will help when implementing default parameters
and adding other per-instance options.

This patch also makes the help message more readable.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
converter/babeltrace-cfg.c
This page took 0.023956 seconds and 4 git commands to generate.