aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2021-01-07 07:36:47 +0100
committerJunio C Hamano <gitster@pobox.com>2021-01-06 22:55:06 -0800
commitb0812b6ac0776b6e43e8483d5579ffd11d5c5f42 (patch)
tree95f6cd29c086c3c7c0bbc1d05bd81dd89945a867 /git.c
parentb291b0a628020eedb10b6236d87fe25d295cea81 (diff)
downloadgit-b0812b6ac0776b6e43e8483d5579ffd11d5c5f42.tar.gz
git: add `--super-prefix` to usage string
When the `--super-prefix` option was implmented in 74866d7579 (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 <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 4b7bd77b80..194a1ecfd9 100644
--- a/git.c
+++ b/git.c
@@ -29,6 +29,7 @@ const char git_usage_string[] =
" [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\n"
" [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]\n"
" [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]\n"
+ " [--super-prefix=<path>]\n"
" <command> [<args>]");
const char git_more_info_string[] =