lttng.c: CMD_UNDEFINED is used for invalid args too
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 17 Nov 2015 06:30:36 +0000 (01:30 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 18 Mar 2016 01:32:16 +0000 (21:32 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/lttng.c

index 86f5b0c24b221b2459ae4f4b210d7be359d41c72..7ab1125e3240fad20a37babb74ebfdb15c6245f2 100644 (file)
@@ -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");
This page took 0.026254 seconds and 4 git commands to generate.