cli: Remove support for --key and --value arguments
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 9 Apr 2019 23:00:33 +0000 (19:00 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 04:12:55 +0000 (00:12 -0400)
commit6f4827a397e6b3a4310a7853fda465ab9c9765e4
treeb376436d2fbbeae28708e5b9480c279ab310466c
parenta78e1f41d784ad026e5ecf9b099e9a5ce120a4e3
cli: Remove support for --key and --value arguments

There are currently two ways of passing parameters to the current
component on the Babeltrace command line:

  --params=KEY=VALUE
  --key KEY --value VALUE

The method with --params is more versatile, as VALUE can have different
types (string, number, bool).  The value in the --key/--value method is
always converted to a string.

This patch removes the less-versatile --key/--value way, in order to
keep only --params.

I have remove or updated references to --key/--value in man pages.  The
only remaining mention of --key/--value that I know of is in
babeltrace-log.c, which I was told is going to disappear anyway, so I
have left it.

Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
cli/babeltrace-cfg-cli-args.c
doc/man/babeltrace-convert.1.txt
doc/man/babeltrace-run.1.txt
tests/cli/test_convert_args.in
This page took 0.023742 seconds and 5 git commands to generate.