[buildd-tools-devel] Bug#708163: Bug#708163: schroot should treat options after non-option as non-option

Roger Leigh rleigh at codelibre.net
Mon May 13 22:25:47 UTC 2013


On Mon, May 13, 2013 at 05:43:40PM +0100, Ian Jackson wrote:
> 
> $ schroot -c unstable-i386 id -u
> E: required parameter is missing in 'user'
> 
> This is a bit silly.  It would be better if schroot stopped processing
> schroot options as soon as it saw the command (ie, the first
> non-option).

You can use -- to separate options from non-options explicitly.  We are
using libboost-program-options for the options parsing; it does provide
for customising the parsing process somewhat, but I'm not certain how
difficult (or possible) such a change will be.  I'll certainly look
into it.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the Buildd-tools-devel mailing list