From: David Goulet Date: Fri, 17 Aug 2012 17:02:14 +0000 (-0400) Subject: Fix comments and help text X-Git-Tag: v2.1.0-rc1~6 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=16de1a24449a4ea2ea57f8183abb4dd34255ac66 Fix comments and help text Signed-off-by: David Goulet --- diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index dd10ab227..f9c7f8687 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -60,7 +60,10 @@ static struct poptOption long_options[] = { {0, 0, 0, 0, 0, 0, 0} }; -/* HACK */ +/* + * Please have a look at src/lib/lttng-ctl/lttng-ctl.c for more information on + * why this declaration exists and used ONLY in for this command. + */ extern int _lttng_create_session_ext(const char *name, const char *url, const char *datetime); @@ -104,7 +107,7 @@ static void usage(FILE *ofp) fprintf(ofp, " > file://...\n"); fprintf(ofp, " Local filesystem full path.\n"); fprintf(ofp, "\n"); - fprintf(ofp, " > net[4|6]://...\n"); + fprintf(ofp, " > net[6]://...\n"); fprintf(ofp, " This will use the default network transport layer which is\n"); fprintf(ofp, " TCP for both control (PORT1) and data port (PORT2).\n"); fprintf(ofp, " The default ports are respectively 5342 and 5343.\n"); diff --git a/src/bin/lttng/commands/enable_consumer.c b/src/bin/lttng/commands/enable_consumer.c index 0a6136222..77e3ad911 100644 --- a/src/bin/lttng/commands/enable_consumer.c +++ b/src/bin/lttng/commands/enable_consumer.c @@ -107,7 +107,7 @@ static void usage(FILE *ofp) fprintf(ofp, " > file://...\n"); fprintf(ofp, " Local filesystem full path.\n"); fprintf(ofp, "\n"); - fprintf(ofp, " > net[4|6]://...\n"); + fprintf(ofp, " > net[6]://...\n"); fprintf(ofp, " This will use the default network transport layer which is\n"); fprintf(ofp, " TCP for both control (PORT1) and data port (PORT2).\n"); fprintf(ofp, " The default ports are respectively 5342 and 5343.\n");