doc: clean up usage documentation for --no-* opts
We'll be adding another option to the --no-* class of options soon. Clean up the existing options by grouping them together in the OPTIONS section, and adding missing ones to the SYNOPSIS. Signed-off-by: James Liu <james@jamesliu.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d4cc1ec35f
commit
9b715ad926
6
git.c
6
git.c
@ -36,9 +36,9 @@ struct cmd_struct {
|
||||
const char git_usage_string[] =
|
||||
N_("git [-v | --version] [-h | --help] [-C <path>] [-c <name>=<value>]\n"
|
||||
" [--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"
|
||||
" [--config-env=<name>=<envvar>] <command> [<args>]");
|
||||
" [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--no-lazy-fetch]\n"
|
||||
" [--no-optional-locks] [--bare] [--git-dir=<path>] [--work-tree=<path>]\n"
|
||||
" [--namespace=<name>] [--config-env=<name>=<envvar>] <command> [<args>]");
|
||||
|
||||
const char git_more_info_string[] =
|
||||
N_("'git help -a' and 'git help -g' list available subcommands and some\n"
|
||||
|
Reference in New Issue
Block a user