cli: do not use --component in query command, use leftover argument
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 16 Sep 2017 19:32:14 +0000 (15:32 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 17 Sep 2017 17:58:39 +0000 (13:58 -0400)
commit7b1e06a15269c13b56cf3d70f3d8c68301154c45
tree4d1ba5f37b1f71f8a29dc4699220a4da15fd3fb6
parentbeb0f041dc0948c3a7b08969a9af02624a54e99d
cli: do not use --component in query command, use leftover argument

Options should be used for optional arguments. In the case of
`babeltrace query`, the component class specification is mandatory,
so use a positional "leftover" argument:

    babeltrace [GEN OPTS] query [OPTS] TYPE.PLUGIN.CLS OBJECT

Example:

    babeltrace query src.ctf.fs trace-info -p 'path="/path/to/trace"'

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