Skip to contentSkip to conversation

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

PATCH New Björn Gustavsson 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 push: fix usage: --tags is incompatible with --all and --mirror

Correct the usage text to make it clear that --tags cannot be combined with --all or --mirror.

---
 builtin-push.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
builtin-push.c +1 -1
index 3cb1ee4..425594a 100644
@@ -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,
 };
 
Signature · 1 line
1.6.5.2.gd6127