From: David Goulet Date: Wed, 27 Apr 2011 15:40:13 +0000 (-0400) Subject: Change list command line options -l and -L X-Git-Tag: v2.0-pre1~178 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fabf6cff309e9c1263612b22b3d028452f62ec13;p=lttng-tools.git Change list command line options -l and -L Signed-off-by: David Goulet --- diff --git a/lttng/options.c b/lttng/options.c index 11b82fba7..59d59046d 100644 --- a/lttng/options.c +++ b/lttng/options.c @@ -49,10 +49,10 @@ static struct poptOption long_options[] = { {"create-session", 'c', POPT_ARG_STRING, &opt_create_session, 0, 0}, {"quiet", 'q', POPT_ARG_VAL, &opt_quiet, 1, 0}, {"verbose", 'v', POPT_ARG_VAL, &opt_verbose, 1, 0}, - {"list-apps", 'l', POPT_ARG_VAL, &opt_list_apps, 1, 0}, + {"list-apps", 'L', POPT_ARG_VAL, &opt_list_apps, 1, 0}, {"no-sessiond", 0, POPT_ARG_VAL, &opt_no_sessiond, 1, 0}, {"sessiond-path", 0, POPT_ARG_STRING, &opt_sessiond_path, 0, 0}, - {"list-session", 0, POPT_ARG_VAL, &opt_list_session, 1, 0}, + {"list-sessions", 'l', POPT_ARG_VAL, &opt_list_session, 1, 0}, {"destroy-session", 'd', POPT_ARG_STRING, &opt_destroy_session, 0, 0}, {0, 0, 0, 0, 0, 0} }; @@ -76,14 +76,14 @@ static void usage(FILE *ofp) fprintf(ofp, "\n"); fprintf(ofp, "Session options:\n"); fprintf(ofp, " -c, --create-session NAME Create a new session\n"); - fprintf(ofp, " --list-session List all available sessions\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, "\n"); fprintf(ofp, "Tracing options:\n"); //fprintf(ofp, " --kernel Enable kernel tracing\n"); //fprintf(ofp, " --no-kernel Disable kernel tracing\n"); - fprintf(ofp, " -l, --list-apps List traceable UST applications\n"); + fprintf(ofp, " -L, --list-apps List traceable UST applications\n"); } /*