X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=parse-options.h;h=5199950c006df4625355ce227970cc3e8a72ed41;hb=6e13921b4f7adcc7316a76c0c4955b85b1589a65;hp=c5f0b4b4dabb5a40027c0cc588549904e0efcc6f;hpb=a32a4eaa36527ab1c9a999357f9edd5e04591a4a;p=git.git diff --git a/parse-options.h b/parse-options.h index c5f0b4b4d..5199950c0 100644 --- a/parse-options.h +++ b/parse-options.h @@ -28,6 +28,7 @@ enum parse_opt_option_flags { PARSE_OPT_NOARG = 2, PARSE_OPT_NONEG = 4, PARSE_OPT_HIDDEN = 8, + PARSE_OPT_LASTARG_DEFAULT = 16, }; struct option; @@ -158,4 +159,6 @@ extern int parse_opt_approxidate_cb(const struct option *, const char *, int); "use digits to display SHA-1s", \ PARSE_OPT_OPTARG, &parse_opt_abbrev_cb, 0 } +extern const char *parse_options_fix_filename(const char *prefix, const char *file); + #endif