{"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}
};
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");
}
/*