public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
* [PATCH] git-remote: no longer silent on unknown commands.
@ 2007-01-13 11:55 Quy Tonthat
  0 siblings, 0 replies; only message in thread
From: Quy Tonthat @ 2007-01-13 11:55 UTC (permalink / raw)
  To: git



Signed-off-by: Quy Tonthat <qtonthat@gmail•com>
---
 git-remote.perl |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/git-remote.perl b/git-remote.perl
index 059c141..fc055b6 100755
--- a/git-remote.perl
+++ b/git-remote.perl
@@ -274,4 +274,9 @@ elsif ($ARGV[0] eq 'add') {
 	}
 	add_remote($ARGV[1], $ARGV[2]);
 }
-
+else {
+	print STDERR "Usage: git remote\n";
+	print STDERR "       git remote add <name> <url>\n";
+	print STDERR "       git remote show <name>\n";
+	exit(1);
+}
-- 
1.5.0.rc1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-13 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-13 11:55 [PATCH] git-remote: no longer silent on unknown commands Quy Tonthat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox