parse-options: allow callbacks to take no arguments at all.
Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
This commit is contained in:

committed by
Junio C Hamano

parent
7f275b9152
commit
f481e22a14
@ -16,6 +16,7 @@ enum parse_opt_flags {
|
||||
|
||||
enum parse_opt_option_flags {
|
||||
PARSE_OPT_OPTARG = 1,
|
||||
PARSE_OPT_NOARG = 2,
|
||||
};
|
||||
|
||||
struct option;
|
||||
|
Reference in New Issue
Block a user