Improve error handling of lttng cli
authorDavid Goulet <dgoulet@efficios.com>
Wed, 1 Feb 2012 23:09:11 +0000 (18:09 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 1 Feb 2012 23:12:49 +0000 (18:12 -0500)
Most of the commands were not returning a valid error code to the user.

Add "UST invalid context" lttcomm code and enforce "-t TYPE" for
add-context command.

Change error message for enable/disable event/channel in order to make
it standard for those commands and more meaningful to the user.

Signed-off-by: David Goulet <dgoulet@efficios.com>

No differences found
This page took 0.028017 seconds and 5 git commands to generate.