mirror of
https://github.com/git-for-windows/git.git
synced 2025-12-14 18:43:41 -06:00
git-remote: no longer silent on unknown commands.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
e66191f483
commit
c03f77573a
@ -274,4 +274,9 @@ elsif ($ARGV[0] eq 'add') {
|
|||||||
}
|
}
|
||||||
add_remote($ARGV[1], $ARGV[2]);
|
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);
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user