Fix: check illegal combinations of ctrl-url/data-url/ouput/set-url
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 22 Mar 2019 21:51:40 +0000 (17:51 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 29 Mar 2019 15:49:24 +0000 (11:49 -0400)
commitd685c8c6e082402837b23be4ad81d9cae59a8a3b
tree3366a2f5f48ddc3668d3f1f75c12362a1513d255
parent38df09b786426464b27a0f6fc2d852935d56eaad
Fix: check illegal combinations of ctrl-url/data-url/ouput/set-url

The lttng CLI must check for illegal combinations of the
--ctrl-url, --data-url, --set-url, and --output options.

The following combinations are mutually exclusive:
  1) --set-url
  2) --ctrl-url + --data-url
  3) --output

Combining these incompatible options resulted in unhelpful
generic error messages since the error is catched a lot farther
than it should.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/create.c
This page took 0.025084 seconds and 4 git commands to generate.