From: Philippe Proulx Date: Tue, 17 Nov 2015 06:30:36 +0000 (-0500) Subject: lttng.c: CMD_UNDEFINED is used for invalid args too X-Git-Tag: v2.8.0-rc1~29 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f0f2dce996c5b9e349bda8ea545c0653770260a8;p=lttng-tools.git lttng.c: CMD_UNDEFINED is used for invalid args too Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/lttng.c b/src/bin/lttng/lttng.c index 86f5b0c24..7ab1125e3 100644 --- a/src/bin/lttng/lttng.c +++ b/src/bin/lttng/lttng.c @@ -396,7 +396,7 @@ static int parse_args(int argc, char **argv) ERR("Command error"); break; case CMD_UNDEFINED: - ERR("Undefined command"); + ERR("Undefined command or invalid arguments"); break; case CMD_FATAL: ERR("Fatal error");