projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e66191f
)
git-remote: no longer silent on unknown commands.
author
Quy Tonthat
<qtonthat@gmail.com>
Sat, 13 Jan 2007 11:55:21 +0000
(22:55 +1100)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 13 Jan 2007 18:03:44 +0000
(10:03 -0800)
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-remote.perl
patch
|
blob
|
history
diff --git
a/git-remote.perl
b/git-remote.perl
index 059c141b68e829c7114d09ed9f4541b9db4c3d66..fc055b6d9577b8667e104a9e1528f43cfe29f7e3 100755
(executable)
--- 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);
+}