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 18:10:51 +0000 (14:10 -0400)
commit93c1364b80a8670acac96d936a8c36453401b912
tree567ad366b736973b6bf2350ffd23b8b9b78b1ce9
parent4dff667f2846ccb258c430dc55e75cf0716e3943
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.025292 seconds and 4 git commands to generate.