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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:39 +0000 (18:19 -0400)
commitb2f834c9f7e65c7870f880bed965839f0ee06235
tree032bdbef53e74a701b479725c34daecb4cfb3deb
parent7b6a21439c0ec822f2fce4fe61b7f1d1f2059273
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.025616 seconds and 4 git commands to generate.