[buildd-tools-devel] Bug#786456: sbuild-update: Better error message when chroot is not specified

Johannes Schauer josch at debian.org
Thu Dec 24 15:01:07 UTC 2015


Control: tag -1 + pending

Hi,

On Thu, 21 May 2015 17:26:19 -0300 Felipe Sateler <fsateler at debian.org> wrote:
> sbuild-update gives a very cryptic error when no chroot is specified:
> 
> % sbuild-update -udcar
> E: Incorrect number of options
> I: Run “sbuild-update --help” to list usage example and all available options
> 
> The attached patch gives a more meaningful message:
> 
> % ./bin/sbuild-update -udcar
> E: No chroot was specified
> I: Run “sbuild-update --help” to list usage example and all available options
> 

thanks! Your patch looks fine and I applied it locally, so it should become
part of the next sbuild release.

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151224/efab3cda/attachment-0002.sig>


More information about the Buildd-tools-devel mailing list