From: David Goulet Date: Fri, 27 Jan 2012 17:43:54 +0000 (-0500) Subject: Add CMD_WARNING error code X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=d16c1a4ce20ed71733c02353383f1a3058fe9ed2;hp=d16c1a4ce20ed71733c02353383f1a3058fe9ed2;p=lttng-tools.git Add CMD_WARNING error code The CMD_WARNING is returned if at least one command went wrong and at least one succeeded. This shoudl tell the user that there is an error message on stderr but the rest of the command went well. One use case for that is the multiple -t of add_context. If one of them fails, this code is returned. This error code is added at the end of the enum so the previous CMD code are not changed. Also, if the tracer (-k/-u) is not specified, CMD_ERROR is returned instead of CMD_UNDEFINED which makes way more sense. Signed-off-by: David Goulet ---