@matheusbsbs / matheus-bagliano / commits / 511a3fc116
Fork 0

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 <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Matthieu Moy committed Sep 12, 2009 at 12:39 UTC 511a3fc116799df5e3b2262f8f6e501ca73ba2fe
1 file changed +4 -1
git.c
+4 -1
@@ -5,7 +5,10 @@
5 #include "run-command.h"
6
7 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]";
12
13 const char git_more_info_string[] =
14 "See 'git help COMMAND' for more information on a specific command.";