- {"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},
+ {"quiet", 'q', POPT_ARG_VAL, &opt_quiet, 1, 0, 0},
+ {"session", 's', POPT_ARG_STRING, &opt_session_uuid, 0, 0, 0},
+ {"sessiond-path", 0, POPT_ARG_STRING, &opt_sessiond_path, 0, 0, 0},
+ {"verbose", 'v', POPT_ARG_VAL, &opt_verbose, 1, 0, 0},
+ //{"session", 0, POPT_ARG_STRING | POPT_ARGFLAG_OPTIONAL, &opt_session_name, 0, 0},
+ {0, 0, 0, 0, 0, 0, 0}