Bug#849465: bts version: check arguments

積丹尼 Dan Jacobson jidanni at jidanni.org
Tue Dec 27 13:10:28 UTC 2016


Package: devscripts
Version: 2.16.13
Severity: wishlist
File: /usr/bin/bts

Perhaps check if the user has given extra arguments to version, and at
least return non-zero.

$ bts version 999999 1.2.3; echo $?
bts version 2.16.13
Copyright (C) 2001-2003 by Joey Hess <joeyh at debian.org>.
Modifications Copyright (C) 2002-2004 by Julian Gilbey <jdg at debian.org>.
Modifications Copyright (C) 2007 by Josh Triplett <josh at freedesktop.org>.
It is licensed under the terms of the GPL, either version 2 of the
License, or (at your option) any later version.
0

That way programs that use "version" instead of the intended "found"
would find out earlier.



More information about the devscripts-devel mailing list