[dput-ng-maint] Bug#741966: dcut dm: please make --allow for multiple packages foolproof

Wookey wookey at wookware.org
Thu Dec 11 13:24:35 UTC 2014


OK, this just annoyed me too, enough that I've fixed the manpage to
actually reflect reality. I haven't changed the codebase to make it smarter.

Attached is a patch so that the manpage entry now reads:

           --allow=PACKAGE

           --allow PACKAGE LIST
               Source package(s) where permissions to upload should be
               granted. Give a space-separated list of packages to apply
               permissions to more than one package at once. If multiple
               --allow options are given, the last one takes precedence.

Despite reading the ascidoc spec I failed to get it to format to:
           --allow=PACKAGE
           --allow PACKAGE LIST
               Source package(s) where permissions to upload should be
               granted. Give a space-separated list of packages to apply
               permissions to more than one package at once. If multiple
               --allow options are given, the last one takes precedence.

Which would have looked nicer.

--deny is equivalent.

A patch so that the '=' was genuinely optional would be even
better... but at least applying this should stop the docs actively
misleading users of these options.


Wookey

-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dput-ng_1.8-dcut-manpage-allow-deny-fix-741966.patch
Type: text/x-diff
Size: 1854 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/dput-ng-maint/attachments/20141211/6d8262d5/attachment.patch>


More information about the dput-ng-maint mailing list