diff options
Diffstat (limited to 'src/shared/_usage.h')
-rw-r--r-- | src/shared/_usage.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/_usage.h b/src/shared/_usage.h index 91b956e0..3264ad6f 100644 --- a/src/shared/_usage.h +++ b/src/shared/_usage.h @@ -45,6 +45,16 @@ case 'q': case_RC_COMMON_getopt_case_q; break; \ default: case_RC_COMMON_getopt_default; break; +#ifdef RC_USER_SERVICES +#define case_RC_USER_SERVICES \ + case 'U': rc_set_user(); break; +#define getoptstring_USER_SERVICES "U" +#define longopts_USER_SERVICES \ + { "user", 0, NULL, 'U'}, +#define longopts_help_USER_SERVICES \ + "use user facing services", +#endif + extern const char *applet; extern const char *extraopts; extern const char getoptstring[]; |