author | Stephen Boyd <bebarino@gmail.com> | |
Fri, 26 Jun 2009 05:14:09 +0000 (22:14 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 27 Jun 2009 21:11:28 +0000 (14:11 -0700) | ||
commit | a429d2dd76c81cb52fb17463821a457e541637ce | |
tree | c2201cd471885ab50d09fc377b42d19fef43b18a | tree | snapshot |
parent | 916e1373fb86db9d7019de4e7e74e39c9474a153 | commit | diff |
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>
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 | diff | blob | history |