diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-08-22 21:56:38 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-24 10:37:39 -0700 |
commit | ef45e4dae0a0f45fc72b7cd34b32dd465a38697d (patch) | |
tree | 7d2b7c98bb88d8579dc99a33ee8e5ad1d0151fc2 | |
parent | 6325ca3129ef969077115ba600d8356b8412b4d2 (diff) | |
download | git-ef45e4dae0a0f45fc72b7cd34b32dd465a38697d.tar.gz |
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 <artagnon@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | parse-options.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-options.h b/parse-options.h index 7435cdbf1d..d982f0f1bf 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. |