Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix documentation syntax of optional arguments in short options.
[gitweb.git]
/
parse-options.c
diff --git
a/parse-options.c
b/parse-options.c
index d9562ba5047ff1c9994755a4dbec5162b551c788..59dc9ce6b471c61aff22d51293ee3d74b020c88a 100644
(file)
--- a/
parse-options.c
+++ b/
parse-options.c
@@
-330,7
+330,7
@@
void usage_with_options_internal(const char * const *usagestr,
switch (opts->type) {
case OPTION_INTEGER:
if (opts->flags & PARSE_OPT_OPTARG)
- pos += fprintf(stderr, "
[<n>]");
+ pos += fprintf(stderr, "[<n>]");
else
pos += fprintf(stderr, " <n>");
break;