Fix documentation syntax of optional arguments in short options.
[gitweb.git] / parse-options.c
index d9562ba5047ff1c9994755a4dbec5162b551c788..59dc9ce6b471c61aff22d51293ee3d74b020c88a 100644 (file)
@@ -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;