Skip to content

Commit b0812b6

Browse files
pks-tgitster
authored andcommitted
git: add --super-prefix to usage string
When the `--super-prefix` option was implmented in 74866d7 (git: make super-prefix option, 2016-10-07), its existence was only documented in the manpage but not in the command's own usage string. Given that the commit message didn't mention that this was done intentionally and given that it's documented in the manpage, this seems like an oversight. Add it to the usage string to fix the inconsistency. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b291b0a commit b0812b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const char git_usage_string[] =
2929
" [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
3030
" [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]\n"
3131
" [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n"
32+
" [--super-prefix=<path>]\n"
3233
" <command> [<args>]");
3334

3435
const char git_more_info_string[] =

0 commit comments

Comments
 (0)