From: Jonathan Nieder Date: Sun, 22 Aug 2010 16:26:38 +0000 (+0530) Subject: parse-options: clarify PARSE_OPT_NOARG description X-Git-Tag: v1.7.2.3~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ef45e4dae0a0f45fc72b7cd34b32dd465a38697d;p=git.git parse-options: clarify PARSE_OPT_NOARG description Here "takes no argument" means "does not take an argument". The latter phrasing might make it clearer that PARSE_OPT_NOARG does not make an option with an argument that can optionally be left off. Noticed-by: Ramkumar Ramachandra Signed-off-by: Jonathan Nieder Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano --- diff --git a/parse-options.h b/parse-options.h index 7435cdbf1..d982f0f1b 100644 --- a/parse-options.h +++ b/parse-options.h @@ -69,7 +69,7 @@ typedef int parse_opt_cb(const struct option *, const char *arg, int unset); * `flags`:: * mask of parse_opt_option_flags. * PARSE_OPT_OPTARG: says that the argument is optional (not for BOOLEANs) - * PARSE_OPT_NOARG: says that this option takes no argument + * PARSE_OPT_NOARG: says that this option does not take an argument * PARSE_OPT_NONEG: says that this option cannot be negated * PARSE_OPT_HIDDEN: this option is skipped in the default usage, and * shown only in the full usage.