aboutsummaryrefslogtreecommitdiff
path: root/builtin-push.c
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2009-10-19 11:54:12 +0900
committerJunio C Hamano <gitster@pobox.com>2009-10-18 22:47:29 -0700
commitfcb044ee5754ad2df2d217748a976ec82970eb29 (patch)
tree4f66b354ad37e884ef00518417c3f26aa9b3efaa /builtin-push.c
parent989119d96e8d06c69b16d2021856309ec8e0a0c8 (diff)
downloadgit-fcb044ee5754ad2df2d217748a976ec82970eb29.tar.gz
git-fcb044ee5754ad2df2d217748a976ec82970eb29.tar.xz
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: しらいし ななこ <nanako3@lavabit.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-push.c')
-rw-r--r--builtin-push.c2
1 files changed, 1 insertions, 1 deletions
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=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]",
+ "git push [<options>] [<repository> <refspec>...]",
NULL,
};