t4014: "no-add-headers" is actually called "no-add-header"
commit688f4f2fbc353887dbe77c450aaad2ccfd13e8fc
authorThomas Rast <trast@student.ethz.ch>
Mon, 29 Aug 2011 20:10:48 +0000 (29 22:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Aug 2011 22:27:05 +0000 (29 15:27 -0700)
tree316278550888399fd6fc65e5988f6227dd0b2f7f
parent2fdb5c6219ffe17f40833f32541af764ed2364db
t4014: "no-add-headers" is actually called "no-add-header"

Since c426003 (format-patch: add --no-cc, --no-to, and
--no-add-headers, 2010-03-07) the tests have checked for an option
called --no-add-headers introduced by letting the user negate
--add-header.

However, the parseopt machinery does not automatically pluralize
anything, so it is in fact called --no-add-header.

Since the option never worked, is not documented anywhere, and
implementing an actual --no-add-headers would lead to silly code
complications, we just adapt the test to the code.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4014-format-patch.sh