[debhelper-devel] [debhelper] 01/01: Dh_Getopt: Improve error message for -s

Niels Thykier nthykier at moszumanska.debian.org
Sun Feb 19 09:52:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit b54fc8129f835c14a111257c9cb5aa186fa39a8a
Author: Niels Thykier <niels at thykier.net>
Date:   Sun Feb 19 09:51:05 2017 +0000

    Dh_Getopt: Improve error message for -s
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 Debian/Debhelper/Dh_Getopt.pm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Debian/Debhelper/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm
index a2110b7..a578edb 100644
--- a/Debian/Debhelper/Dh_Getopt.pm
+++ b/Debian/Debhelper/Dh_Getopt.pm
@@ -34,7 +34,10 @@ sub AddPackage { my($option,$value)=@_;
 		push @{$dh{DOPACKAGES}}, getpackages('arch');
 		$dh{DOARCH}=1;
 		if ($option eq 's' or $option eq 'same-arch') {
-			deprecated_functionality('-s/--same-arch is deprecated; please use -a/--arch instead', 11);
+			deprecated_functionality('-s/--same-arch is deprecated; please use -a/--arch instead',
+									 11,
+									 '-s/--same-arch has been removed; please use -a/--arch instead'
+			);
 		}
 	}
 	elsif ($option eq 'p' or $option eq 'package') {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list