From: David Goulet Date: Wed, 1 Feb 2012 23:09:11 +0000 (-0500) Subject: Improve error handling of lttng cli X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=ae8564917fa3cb3497ec17951d8ac0ee28de9c81;hp=ae8564917fa3cb3497ec17951d8ac0ee28de9c81;p=lttng-tools.git Improve error handling of lttng cli 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 ---