- {"session", 0, POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, &opt_session_name, 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},
- {"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},
- {0, 0, 0, 0, 0, 0}
+ {"no-sessiond", 0, POPT_ARG_VAL, &opt_no_sessiond, 1, 0, 0},
+ {"pid", 'p', POPT_ARG_INT, &opt_trace_pid, 0, 0, 0},
+ {"quiet", 'q', POPT_ARG_VAL, &opt_quiet, 1, 0, 0},
+ {"session", 's', POPT_ARG_STRING, &opt_session_name, 0, 0, 0},
+ {"sessiond-path", 0, POPT_ARG_STRING, &opt_sessiond_path, 0, 0, 0},
+ {"start", 0, POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, 0, OPT_START_TRACE, 0, 0},
+ {"stop", 0, POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, 0, OPT_STOP_TRACE, 0, 0},
+ {"verbose", 'v', POPT_ARG_VAL, &opt_verbose, 1, 0, 0},
+ {0, 0, 0, 0, 0, 0, 0}