From: Quy Tonthat <qtonthat@gmail•com>
To: git@vger•kernel.org
Subject: [PATCH] git-remote: no longer silent on unknown commands.
Date: Sat, 13 Jan 2007 22:55:21 +1100 [thread overview]
Message-ID: <45A8C8A9.2030706@gmail.com> (raw)
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
reply other threads:[~2007-01-13 11:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45A8C8A9.2030706@gmail.com \
--to=qtonthat@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox