From: Nanako Shiraishi Date: Mon, 19 Oct 2009 02:54:12 +0000 (+0900) Subject: git push: remove incomplete options list from help text X-Git-Tag: v1.6.5.2~15 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fcb044ee5754ad2df2d217748a976ec82970eb29;p=git.git git push: remove incomplete options list from help text '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: しらいし ななこ Signed-off-by: Junio C Hamano --- diff --git a/builtin-push.c b/builtin-push.c index 3cb1ee46d..ab49b7c76 100644 --- a/builtin-push.c +++ b/builtin-push.c @@ -10,7 +10,7 @@ #include "parse-options.h" static const char * const push_usage[] = { - "git push [--all | --mirror] [-n | --dry-run] [--porcelain] [--tags] [--receive-pack=] [--repo=] [-f | --force] [-v] [ ...]", + "git push [] [ ...]", NULL, };