Fix comments and help text
[lttng-tools.git] / src / bin / lttng / commands / create.c
index dd10ab22767b8718ef232f4c19656e758b79c9bf..f9c7f86873aaac2d9c7f4c249b4f4a738fd2ec0d 100644 (file)
@@ -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");
This page took 0.023301 seconds and 4 git commands to generate.