write-tree: check extra arguments and die but be a bit more helpful.
commit75a46f6b0ed3c3aa6fe4ff53a8c20cb58cbb3732
authorJunio C Hamano <junkio@cox.net>
Tue, 6 Dec 2005 06:30:07 +0000 (5 22:30 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 6 Dec 2005 06:31:18 +0000 (5 22:31 -0800)
tree9b4f6181849b80d15c0ff1e21b35726123f0f326
parent4a62eaed317e260b0bdb0ce5f340757d2a6dfef1
write-tree: check extra arguments and die but be a bit more helpful.

"git-write-tree junk" complains and dies, but it does not say
what option it supports.  Die with the usage string in such a
case.

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