-
- GNUNET_GETOPT_OPTION_SET_ONE ('s',
- "start",
- gettext_noop ("start all GNUnet default services"),
- &start),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('r',
- "restart",
- gettext_noop ("stop and start all GNUnet default services"),
- &restart),
- GNUNET_GETOPT_OPTION_SET_ONE ('d',
- "delete",
- gettext_noop ("delete config file and directory on exit"),
- &delete),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('m',
- "monitor",
- gettext_noop ("monitor ARM activities"),
- &monitor),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('q',
- "quiet",
- gettext_noop ("don't print status messages"),
- &quiet),
-
- GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('T',
- "timeout",
- "DELAY",
- gettext_noop ("exit with error status if operation does not finish after DELAY"),
- &timeout),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('I',
- "info",
- gettext_noop ("list currently running services"),
- &list),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('O',
- "no-stdout",
- gettext_noop ("don't let gnunet-service-arm inherit standard output"),
- &no_stdout),
-
- GNUNET_GETOPT_OPTION_SET_ONE ('E',
- "no-stderr",
- gettext_noop ("don't let gnunet-service-arm inherit standard error"),
- &no_stderr),
-
+ GNUNET_GETOPT_option_flag ('s',
+ "start",
+ gettext_noop ("start all GNUnet default services"),
+ &start),
+ GNUNET_GETOPT_option_flag ('r',
+ "restart",
+ gettext_noop ("stop and start all GNUnet default services"),
+ &restart),
+ GNUNET_GETOPT_option_flag ('d',
+ "delete",
+ gettext_noop ("delete config file and directory on exit"),
+ &delete),
+ GNUNET_GETOPT_option_flag ('m',
+ "monitor",
+ gettext_noop ("monitor ARM activities"),
+ &monitor),
+ GNUNET_GETOPT_option_flag ('q',
+ "quiet",
+ gettext_noop ("don't print status messages"),
+ &quiet),
+ GNUNET_GETOPT_option_relative_time ('T',
+ "timeout",
+ "DELAY",
+ gettext_noop ("exit with error status if operation does not finish after DELAY"),
+ &timeout),
+ GNUNET_GETOPT_option_flag ('I',
+ "info",
+ gettext_noop ("list currently running services"),
+ &list),
+ GNUNET_GETOPT_option_flag ('O',
+ "no-stdout",
+ gettext_noop ("don't let gnunet-service-arm inherit standard output"),
+ &no_stdout),
+ GNUNET_GETOPT_option_flag ('E',
+ "no-stderr",
+ gettext_noop ("don't let gnunet-service-arm inherit standard error"),
+ &no_stderr),