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 16:00:13 +0000 (12:00 -0400)
commit20cadb6ba5bda60e1cc3da676a161fd9b78eceaf
tree1ab53b980b514cbacd538010ab4e33cd9c59e79e
parentd65fc49961dd0a50ddc88e77c959a6e196a0b0db
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.026179 seconds and 4 git commands to generate.