[lttng-dev] [PATCH lttng-tools] relayd fix missing option --help

Christian Babeux christian.babeux at efficios.com
Mon Jul 16 16:20:05 EDT 2012


Fix missing getopt_long option for --help in relayd.

diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c
index 338341d..acc6ca8 100644
--- a/src/bin/lttng-relayd/main.c
+++ b/src/bin/lttng-relayd/main.c
@@ -120,6 +120,7 @@ int parse_args(int argc, char **argv)
                { "data-port", 1, 0, 'D' },
                { "daemonize", 0, 0, 'd' },
                { "output", 1, 0, 'o' },
+              { "help", 0, 0, 'h' },
                { "verbose", 0, 0, 'v' },
                { NULL, 0, 0, 0 }
        };



More information about the lttng-dev mailing list