summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6325ca3)
raw | patch | inline | side by side (parent: 6325ca3)
author | Jonathan Nieder <jrnieder@gmail.com> | |
Sun, 22 Aug 2010 16:26:38 +0000 (21:56 +0530) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 24 Aug 2010 17:37:39 +0000 (10:37 -0700) |
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>
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>
parse-options.h | patch | blob | history |
diff --git a/parse-options.h b/parse-options.h
index 7435cdbf1d94378cf1c3408ae17cb610165a00ba..d982f0f1bf181f00f54861eb768504007490e95d 100644 (file)
--- a/parse-options.h
+++ b/parse-options.h
* `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.