diff: trivial fix for --output file error message
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 29 Sep 2010 07:26:23 +0000 (09:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Sep 2010 20:25:17 +0000 (13:25 -0700)
commit9ec26eb7cd7767faffac9bac5e22ede0d25e20e3
tree6a8005fbb5c36877ba2a8f10ddc6897005c98221
parente1ba4c32cbc48316d07f807bf32b9194601003b0
diff: trivial fix for --output file error message

The option argument is either after the equal sign in --output=... or in
the next command-line argument. optarg is the reliable way to access it.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c