Bcc:
Subject: Re: Bug#780779: option "merge multiple blank lines to n lines" not
configurable as documented
Reply-To:
In-Reply-To: <[email protected]>
Hello,
On Thu, Mar 19, 2015 at 11:45:36AM +0100, Carsten Otto wrote:
> The option "-c", documented as follows, cannot be used as "-c=1".
>
> -c[=n] merge multiple blank lines to n lines (default is 2)
>
> When using t-prot -c=1 this error is shown:
> Unknown option: =
> Unknown option: 1
> Usage: [...]
>
> Using --c=1 (two hyphens) seems to work.
Yes. Using -c1 works as well at my Debian testing machine. T-prot's
command line processing is all handled by Getopt::Long, so I guess
we're stuck here. I'm sorry.
It might be a good idea to reassign this bug to Getopt::Long, as
it's this module which does not work as advertised. Otherwise (if
the Getopt::Long developers don't see any necessity to fix this)
I might just change t-prot's documentation.
Thanks for reporting!
Jochen.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]