summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 989119d)
raw | patch | inline | side by side (parent: 989119d)
author | Nanako Shiraishi <nanako3@lavabit.com> | |
Mon, 19 Oct 2009 02:54:12 +0000 (11:54 +0900) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 Oct 2009 05:47:29 +0000 (22:47 -0700) |
'git push -h' shows usage text with incomplete list of options and then
has a separate list of options that are supported. Imitate the way other
commands (I looked at 'git diff' for an example) show their options.
Signed-off-by: しらいし ななこ <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
has a separate list of options that are supported. Imitate the way other
commands (I looked at 'git diff' for an example) show their options.
Signed-off-by: しらいし ななこ <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-push.c | patch | blob | history |
diff --git a/builtin-push.c b/builtin-push.c
index 3cb1ee46d1da898c2be5666a93002ca43df80093..ab49b7c7656139e36bb49a2ff4ae144cb094e57c 100644 (file)
--- a/builtin-push.c
+++ b/builtin-push.c
#include "parse-options.h"
static const char * const push_usage[] = {
- "git push [--all | --mirror] [-n | --dry-run] [--porcelain] [--tags] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]",
+ "git push [<options>] [<repository> <refspec>...]",
NULL,
};