cli: Refactor command line value parsing code
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Apr 2019 14:09:33 +0000 (10:09 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:12:55 +0000 (00:12 -0400)
commit6c1bb54d11fb0c686d5b37d6c71939dd3673c408
treeed93f45647e4c70aa91dd93b66417a16b731b73c
parent15dc2ca35fad5dbce99d78fe862a9c522e78e8b4
cli: Refactor command line value parsing code

This patch breaks out the code that parses values from the command line
to bt_value objects.  It introduces a new function which returns a
parsed value directly as a bt_value.

This enables the following patch to introduce support for arrays, by
having this function call itself recursively.

No functional changes intended.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
cli/babeltrace-cfg-cli-args.c
This page took 0.024114 seconds and 5 git commands to generate.