Hi!

On Thu, 2014-10-23 at 19:49:20 -0500, Rob Browning wrote:
> Package: dpkg-dev
> Version: 1.17.13
> 
>   $ man dpkg-parsechangelog | grep -F -- -S
>        -S, --show-field field
>   $ dpkg-parsechangelog --help | grep -F -- -S
>     -S, --show-field <field> show the values for <field>.
>   $ dpkg-parsechangelog -S Version
>   dpkg-parsechangelog: unknown option `-S'
>   Use --help for program usage information.

The current options parsing in the perl scripts (dpkg-dev) is pretty
much suboptimal, that's something I'm going to be unifying and
improving during the 1.18.x cycle.

In this case the option needs the value bundled as in -SVersion for
example; --show-field=Version or --show-field Version also work.

But I agree the --help and man pages are confusing, so I'll be adding
support for "-S Version" style arguments in 1.17.21, instead of having
to change the --help and man pages that would add more translator work.

Thanks,
Guillem


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to