[devscripts] 01/06: rmadison: Display usage to given fd
James McCoy
jamessan at debian.org
Wed Jan 14 05:45:44 UTC 2015
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit a7b613ec6ae81c8a995797e44c8e474f75fab0b2
Author: James McCoy <jamessan at debian.org>
Date: Mon Jan 12 22:34:53 2015 -0500
rmadison: Display usage to given fd
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 2 ++
scripts/rmadison.pl | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 662586a..25fc131 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ devscripts (2.15.1+exp1) UNRELEASED; urgency=medium
[ James McCoy ]
* debsnap: When specified version or architectures aren't available, warn
and exit with error code 2. (Closes: #774276)
+ * rmadison:
+ + Display the usage to the specified fd instead of ignoring it.
[ Johannes Schauer ]
* chdist: Also set Apt::Architectures to prevent foreign architectures from
diff --git a/scripts/rmadison.pl b/scripts/rmadison.pl
index eddc053..99662d1 100755
--- a/scripts/rmadison.pl
+++ b/scripts/rmadison.pl
@@ -62,7 +62,7 @@ if (system('dpkg-vendor', '--is', 'ubuntu') == 0) {
sub usage($$) {
my ($fd, $exit) = @_;
- print <<EOT;
+ print $fd <<EOT;
Usage: rmadison [OPTION] PACKAGE[...]
Display information about PACKAGE(s).
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list