summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2009-10-19 02:54:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-10-19 05:47:29 (GMT)
commitfcb044ee5754ad2df2d217748a976ec82970eb29 (patch)
tree4f66b354ad37e884ef00518417c3f26aa9b3efaa
parent989119d96e8d06c69b16d2021856309ec8e0a0c8 (diff)
downloadgit-fcb044ee5754ad2df2d217748a976ec82970eb29.zip
git-fcb044ee5754ad2df2d217748a976ec82970eb29.tar.gz
git-fcb044ee5754ad2df2d217748a976ec82970eb29.tar.bz2
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>
-rw-r--r--builtin-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-push.c b/builtin-push.c
index 3cb1ee4..ab49b7c 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,
};