Skip to content

Commit 511a3fc

Browse files
moygitster
authored andcommitted
wrap git's main usage string.
It's now similar wrapped the same way as in Documentation/git.txt, and fits in a 67 characters wide terminal. Signed-off-by: Matthieu Moy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5b590d7 commit 511a3fc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

git.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
#include "run-command.h"
66

77
const char git_usage_string[] =
8-
"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path] [-p|--paginate|--no-pager] [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE] [--help] COMMAND [ARGS]";
8+
"git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n"
9+
" [-p|--paginate|--no-pager]\n"
10+
" [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n"
11+
" [--help] COMMAND [ARGS]";
912

1013
const char git_more_info_string[] =
1114
"See 'git help COMMAND' for more information on a specific command.";

0 commit comments

Comments
 (0)