read-tree: convert unhelpful usage()'s to helpful die()'s
commita429d2dd76c81cb52fb17463821a457e541637ce
authorStephen Boyd <bebarino@gmail.com>
Fri, 26 Jun 2009 05:14:09 +0000 (25 22:14 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Jun 2009 21:11:28 +0000 (27 14:11 -0700)
treec2201cd471885ab50d09fc377b42d19fef43b18a
parent916e1373fb86db9d7019de4e7e74e39c9474a153
read-tree: convert unhelpful usage()'s to helpful die()'s

Printing the usage message when encountering bad option combinations is
not very helpful. Instead, die with a message which tells the user
exactly what combination is invalid.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-read-tree.c