remote-{ext,fd}: print usage message on invalid arguments
authorJeff King <peff@peff.net>
Tue, 30 May 2017 05:15:09 +0000 (01:15 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 May 2017 05:45:04 +0000 (14:45 +0900)
We just say "Expected two arguments" when we get a different
number of arguments, but we can be slightly friendlier.
People shouldn't generally be running remote helpers
themselves, but curious users might say "git remote-ext -h".

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found