Re: [PATCH v2 1/2] send-email: make annotate configurable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 7, 2013, 03:32 UTC
- Message-ID
- <7vr4in818e.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1365239012-15079-2-git-send-email-felipe.contreras@gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
Show 5 quoted lines
> @@ -305,6 +306,7 @@ my $rc = GetOptions("h" => \$help,
> "smtp-domain:s" => \$smtp_domain,
> "identity=s" => \$identity,
> "annotate" => \$annotate,
> + "no-annotate" => \$no_annotate,Wouldn't it be much better to let GetOptions know that --no-annotate is allowed by saying
"annotate!" => \$annotate
which also let us lose an extra $no_annotate variable?