summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2009-09-12 10:39:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-09-13 08:31:02 (GMT)
commit511a3fc116799df5e3b2262f8f6e501ca73ba2fe (patch)
treedc2b40ba352600afd303e7193184d25c3f69589f /git.c
parent5b590d783a461c63fa803d1c21b57bc79c0207f7 (diff)
downloadgit-511a3fc116799df5e3b2262f8f6e501ca73ba2fe.zip
git-511a3fc116799df5e3b2262f8f6e501ca73ba2fe.tar.gz
git-511a3fc116799df5e3b2262f8f6e501ca73ba2fe.tar.bz2
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>
Diffstat (limited to 'git.c')
-rw-r--r--git.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/git.c b/git.c
index 0b22595..271579c 100644
--- a/git.c
+++ b/git.c
@@ -5,7 +5,10 @@
#include "run-command.h"
const char git_usage_string[] =
- "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]";
+ "git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]\n"
+ " [-p|--paginate|--no-pager]\n"
+ " [--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]\n"
+ " [--help] COMMAND [ARGS]";
const char git_more_info_string[] =
"See 'git help COMMAND' for more information on a specific command.";