[PATCH] push: fix usage: --tags is incompatible with --all and --mirror
- From
Björn Gustavsson <bgustavsson@gmail.com>
- Date
- Oct 15, 2009, 16:39 UTC
- Message-ID
- <4AD75029.1010109@gmail.com>
Correct the usage text to make it clear that --tags cannot be combined with --all or --mirror.
Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com> --- builtin-push.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-push.c b/builtin-push.c index 3cb1ee4..425594a 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 [--all | --mirror | --tags] [-n | --dry-run] [--porcelain] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-v] [<repository> <refspec>...]", NULL, };
-- 1.6.5.2.gd6127