Author: adam-guest
Date: 2008-05-11 20:55:09 +0000 (Sun, 11 May 2008)
New Revision: 1444
Modified:
trunk/debian/changelog
trunk/scripts/bts.pl
Log:
bts: Improve the message produced when unknown options are passed to
a command to include the command name
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-05-11 19:55:41 UTC (rev 1443)
+++ trunk/debian/changelog 2008-05-11 20:55:09 UTC (rev 1444)
@@ -3,6 +3,8 @@
[ Adam D. Barratt ]
* bts, build-rdeps, chdist, debcommit, dget, mass-bug: Fix POD errors in
the manpages. Thanks Riccardo Stagni (Closes: #479609)
+ * bts: Improve the message produced when unknown options are passed to
+ a command to include the command name
* checkbashisms:
+ Also match use of "SHELL=/bin/bash -e" when checking whether a makefile
explicitly uses bash
Modified: trunk/scripts/bts.pl
===================================================================
--- trunk/scripts/bts.pl 2008-05-11 19:55:41 UTC (rev 1443)
+++ trunk/scripts/bts.pl 2008-05-11 20:55:09 UTC (rev 1444)
@@ -3302,7 +3302,7 @@
sub opts_done {
if (@_) {
- die "bts: unknown options: @_\n";
+ die "bts: unknown options to '$command[$index]': @_\n";
}
}
--
To unsubscribe, send mail to [EMAIL PROTECTED]