X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=lttng%2Foptions.c;h=de2681054c93d2dbbfd95088a860fd3909e7dda7;hb=5461b305aef403f7f2e48c977c188b5526746c6e;hp=57cb9b7954677153ee56e3535b510be115818c87;hpb=96243366860d20e371efed0500070cdbc4a01ec7;p=lttng-tools.git diff --git a/lttng/options.c b/lttng/options.c index 57cb9b795..de2681054 100644 --- a/lttng/options.c +++ b/lttng/options.c @@ -41,7 +41,7 @@ int opt_stop_trace = 0; pid_t opt_trace_pid = 0; enum { - OPT_HELP = 42, + OPT_HELP = 1, OPT_CREATE_SESSION, OPT_DESTROY_SESSION, }; @@ -91,7 +91,7 @@ static void usage(FILE *ofp) fprintf(ofp, " -c, --create-session NAME Create a new session\n"); fprintf(ofp, " -l, --list-sessions List all available sessions\n"); fprintf(ofp, " -s, --session UUID Specify tracing session using UUID\n"); - fprintf(ofp, " -d, --destroy-session=NAME Destroy the session specified by NAME\n"); + fprintf(ofp, " -d, --destroy-session NAME Destroy the session specified by NAME\n"); fprintf(ofp, "\n"); fprintf(ofp, "Tracing options:\n"); //fprintf(ofp, " --kernel Enable kernel tracing\n"); @@ -104,7 +104,7 @@ static void usage(FILE *ofp) fprintf(ofp, " --stop Stop tracing\n"); fprintf(ofp, "\n"); fprintf(ofp, "Please see the lttng(1) man page for full documentation.\n"); - fprintf(ofp, "See http://lttng.org/ust for updates, bug reports and news.\n"); + fprintf(ofp, "See http://lttng.org for updates, bug reports and news.\n"); } /*