format-patch: mark "--no-numbered" option with NONEG
commit964fd83b12cbf7907f0bdb4671a467fe381487d3
authorJeff King <peff@peff.net>
Mon, 5 Nov 2018 06:41:12 +0000 (5 01:41 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Nov 2018 03:55:36 +0000 (6 12:55 +0900)
tree86ce083ecb7bbbcda0d8dddde9f0f298360b3134
parentd6627fb8999ac7275c1eeb42482dabd4fabfbd61
format-patch: mark "--no-numbered" option with NONEG

We have separate parse-options entries for "numbered" and "no-numbered",
which means that we accept "--no-no-numbered". It does not behave
sensibly, though (it ignores the "unset" flag and acts like
"--no-numbered").

We could fix that, but obviously this is silly and unintentional. Let's
just disallow it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c