- int opt;
- const char *arg;
-
- apr_status_t status(apr_getopt_long(state, (apr_getopt_option_t[]) {
- {NULL, 'c', false, NULL},
- {NULL, 'g', true, NULL},
- {NULL, 'n', true, NULL},
+ int option(getopt_long(argc, argv,
+ "c"
+ "g:"
+ "n:"
+#ifdef CY_ATTACH
+ "p:"
+#endif
+ "r:"
+ "s"
+ , (const struct option[]) {
+ {NULL, no_argument, NULL, 'c'},
+ {NULL, required_argument, NULL, 'g'},
+ {NULL, required_argument, NULL, 'n'},