From 78adb13396e4eb966269b338b0e382a424b54f52 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Tue, 11 Dec 2007 00:47:00 +0100 Subject: [PATCH] Dpkg::Changelog: Make warnings from __sanity_check_range more informative Explicetly tell which information will be ignored. --- scripts/Dpkg/Changelog.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/Dpkg/Changelog.pm b/scripts/Dpkg/Changelog.pm index 1f1e0f63..4cf0ca62 100644 --- a/scripts/Dpkg/Changelog.pm +++ b/scripts/Dpkg/Changelog.pm @@ -223,19 +223,19 @@ sub __sanity_check_range { $$from = $$since = $$to = $$until = ''; } if ($$from && $$since) { - warning(_g( "you can only specify one of 'from' and 'since'" )); + warning(_g( "you can only specify one of 'from' and 'since', using 'since'" )); $$from = ''; } if ($$to && $$until) { - warning(_g( "you can only specify one of 'to' and 'until'" )); + warning(_g( "you can only specify one of 'to' and 'until', using 'until'" )); $$to = ''; } if ($$since && ($data->[0]{Version} eq $$since)) { - warning(_g( "'since' option specifies most recent version" )); + warning(_g( "'since' option specifies most recent version, ignoring" )); $$since = ''; } if ($$until && ($data->[$#{$data}]{Version} eq $$until)) { - warning(_g( "'until' option specifies oldest version" )); + warning(_g( "'until' option specifies oldest version, ignoring" )); $$until = ''; } $$start = 0 if $$start < 0; -- 2.39.5