From f0f2dce996c5b9e349bda8ea545c0653770260a8 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 17 Nov 2015 01:30:36 -0500 Subject: [PATCH] lttng.c: CMD_UNDEFINED is used for invalid args too MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- src/bin/lttng/lttng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.34.1