threads / patch / 21250

patchpush: fix usage: --tags is incompatible with --all and --mirror

Subject: [PATCH] push: fix usage: --tags is incompatible with --all and --mirror

## tl;dr

One message between Oct 15, 2009 and Oct 15, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Björn Gustavsson· Oct 15, 2009, 16:39 UTC · lore

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(-)
Show changes to builtin-push.c +1 −1
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

← back to recent threads