summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mh/mh_getopt.h169
1 files changed, 86 insertions, 83 deletions
diff --git a/mh/mh_getopt.h b/mh/mh_getopt.h
index cfc1e1ae7..c542823a8 100644
--- a/mh/mh_getopt.h
+++ b/mh/mh_getopt.h
@@ -33,6 +33,7 @@ struct mh_argp_data
{
struct mh_option *mh_option;
int (*handler)();
+ int errind;
void *closure;
char *doc;
};
@@ -49,94 +50,96 @@ struct mh_argp_data
#define ARG_BELL 266
#define ARG_BUILD 267
#define ARG_CC 268
-#define ARG_CHANGECUR 269
-#define ARG_CLEAR 270
-#define ARG_COMPAT 271
-#define ARG_COMPONENT 272
-#define ARG_CREATE 273
-#define ARG_DATE 274
-#define ARG_DATEFIELD 275
-#define ARG_DEBUG 276
-#define ARG_DELETE 277
-#define ARG_DRAFT 278
-#define ARG_DRAFTFOLDER 279
-#define ARG_DRAFTMESSAGE 280
-#define ARG_DUMP 281
-#define ARG_EDITOR 282
-#define ARG_FAST 283
-#define ARG_FCC 284
-#define ARG_FILE 285
-#define ARG_FILTER 286
-#define ARG_FOLDER 287
-#define ARG_FORM 288
-#define ARG_FORMAT 289
-#define ARG_FORWARD 290
-#define ARG_FROM 291
-#define ARG_HEADER 292
-#define ARG_INPLACE 293
-#define ARG_INTERACTIVE 294
-#define ARG_LBRACE 295
-#define ARG_LENGTH 296
-#define ARG_LICENSE 297
-#define ARG_LINK 298
-#define ARG_LIST 299
-#define ARG_MIME 300
-#define ARG_MOREPROC 301
-#define ARG_MSGID 302
-#define ARG_NOAUDIT 303
-#define ARG_NOBELL 304
-#define ARG_NOCC 305
-#define ARG_NOCLEAR 306
-#define ARG_NODATE 307
-#define ARG_NODRAFTFOLDER 308
-#define ARG_NOEDIT 309
-#define ARG_NOFILTER 310
-#define ARG_NOFORMAT 311
-#define ARG_NOFORWARD 312
-#define ARG_NOINPLACE 313
-#define ARG_NOLIST 314
-#define ARG_NOMIME 315
-#define ARG_NOMOREPROC 316
-#define ARG_NOMSGID 317
-#define ARG_NOPUBLIC 318
-#define ARG_NOPUSH 319
-#define ARG_NOT 320
-#define ARG_NOVERBOSE 321
-#define ARG_NOWATCH 322
-#define ARG_NOWHATNOWPROC 323
-#define ARG_NOZERO 324
-#define ARG_OR 325
-#define ARG_PATTERN 326
-#define ARG_POP 327
-#define ARG_PRESERVE 328
-#define ARG_PRINT 329
-#define ARG_PROMPT 330
-#define ARG_PUBLIC 331
-#define ARG_PUSH 332
-#define ARG_QUERY 333
-#define ARG_QUIET 334
-#define ARG_RBRACE 335
-#define ARG_RECURSIVE 336
-#define ARG_REVERSE 337
-#define ARG_SEQUENCE 338
-#define ARG_SOURCE 339
-#define ARG_SPLIT 340
-#define ARG_SUBJECT 341
-#define ARG_TEXT 342
-#define ARG_TO 343
-#define ARG_TOTAL 344
-#define ARG_TRUNCATE 345
-#define ARG_USE 346
-#define ARG_VERBOSE 347
-#define ARG_WATCH 348
-#define ARG_WHATNOWPROC 349
-#define ARG_WIDTH 350
-#define ARG_ZERO 351
+#define ARG_CFLAGS 269
+#define ARG_CHANGECUR 270
+#define ARG_CLEAR 271
+#define ARG_COMPAT 272
+#define ARG_COMPONENT 273
+#define ARG_CREATE 274
+#define ARG_DATE 275
+#define ARG_DATEFIELD 276
+#define ARG_DEBUG 277
+#define ARG_DELETE 278
+#define ARG_DRAFT 279
+#define ARG_DRAFTFOLDER 280
+#define ARG_DRAFTMESSAGE 281
+#define ARG_DUMP 282
+#define ARG_EDITOR 283
+#define ARG_FAST 284
+#define ARG_FCC 285
+#define ARG_FILE 286
+#define ARG_FILTER 287
+#define ARG_FOLDER 288
+#define ARG_FORM 289
+#define ARG_FORMAT 290
+#define ARG_FORWARD 291
+#define ARG_FROM 292
+#define ARG_HEADER 293
+#define ARG_INPLACE 294
+#define ARG_INTERACTIVE 295
+#define ARG_LBRACE 296
+#define ARG_LENGTH 297
+#define ARG_LICENSE 298
+#define ARG_LINK 299
+#define ARG_LIST 300
+#define ARG_MIME 301
+#define ARG_MOREPROC 302
+#define ARG_MSGID 303
+#define ARG_NOAUDIT 304
+#define ARG_NOBELL 305
+#define ARG_NOCC 306
+#define ARG_NOCLEAR 307
+#define ARG_NODATE 308
+#define ARG_NODRAFTFOLDER 309
+#define ARG_NOEDIT 310
+#define ARG_NOFILTER 311
+#define ARG_NOFORMAT 312
+#define ARG_NOFORWARD 313
+#define ARG_NOINPLACE 314
+#define ARG_NOLIST 315
+#define ARG_NOMIME 316
+#define ARG_NOMOREPROC 317
+#define ARG_NOMSGID 318
+#define ARG_NOPUBLIC 319
+#define ARG_NOPUSH 320
+#define ARG_NOT 321
+#define ARG_NOVERBOSE 322
+#define ARG_NOWATCH 323
+#define ARG_NOWHATNOWPROC 324
+#define ARG_NOZERO 325
+#define ARG_OR 326
+#define ARG_PATTERN 327
+#define ARG_POP 328
+#define ARG_PRESERVE 329
+#define ARG_PRINT 330
+#define ARG_PROMPT 331
+#define ARG_PUBLIC 332
+#define ARG_PUSH 333
+#define ARG_QUERY 334
+#define ARG_QUIET 335
+#define ARG_RBRACE 336
+#define ARG_RECURSIVE 337
+#define ARG_REVERSE 338
+#define ARG_SEQUENCE 339
+#define ARG_SOURCE 340
+#define ARG_SPLIT 341
+#define ARG_SUBJECT 342
+#define ARG_TEXT 343
+#define ARG_TO 344
+#define ARG_TOTAL 345
+#define ARG_TRUNCATE 346
+#define ARG_USE 347
+#define ARG_VERBOSE 348
+#define ARG_WATCH 349
+#define ARG_WHATNOWPROC 350
+#define ARG_WIDTH 351
+#define ARG_ZERO 352
void mh_argv_preproc __P((int argc, char **argv, struct mh_argp_data *data));
int mh_getopt __P((int argc, char **argv, struct mh_option *mh_opt,
const char *doc));
int mh_argp_parse __P((int argc, char **argv,
+ int flags,
struct argp_option *option,
struct mh_option *mh_option,
char *argp_doc, char *doc,

Return to:

Send suggestions and report system problems to the System administrator.