init-db: check extra arguments and complain.
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Dec 2005 06:29:36 +0000 (22:29 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Dec 2005 06:29:36 +0000 (22:29 -0800)
commit4a62eaed317e260b0bdb0ce5f340757d2a6dfef1
treee075da548b5da63088e1d562ac1742accedab2e5
parent9c2e7c0ca240e1508871cd22f2ee380f52d69a53
init-db: check extra arguments and complain.

"git-init-db junk" does not complain but just ignores "junk".
Die with the usage string in such a case.

Signed-off-by: Junio C Hamano <junkio@cox.net>
init-db.c