[SCM] Debian package checker branch, master, updated. 2.0.0-rc1-4-g3447c7d
The following commit has been merged in the master branch:
commit e787364c02c2fc9fcf5554d86e8599cf6c40595e
Author: Frank Lichtenheld <djpig@debian.org>
Date: Wed Sep 17 00:38:34 2008 +0200
Use the new --display-level range support
Use it to simplify setting the default levels. Also improve the
documentation in the man page.
diff --git a/frontend/lintian b/frontend/lintian
index 757f7fe..d2656da 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -428,10 +428,8 @@ my %opthash = ( # ------------------ actions
# init display level settings
reset_display_level();
-set_display_level('serious', 1);
-set_display_level('important', 1);
-set_display_level('normal/certain', 1);
-set_display_level('normal/possible', 1);
+set_display_level_multi('>=', 'important', 1);
+set_display_level_multi('>=', 'normal/possible', 1);
set_display_level('minor/certain', 1);
# init commandline parser
diff --git a/man/lintian.1 b/man/lintian.1
index 8effead..d15508c 100644
--- a/man/lintian.1
+++ b/man/lintian.1
@@ -162,6 +162,8 @@ without running lintian, see
.TP
.BR \-I ", " \-\-display\-info
Display informational ("I:") tags as well. They are normally suppressed.
+(This is \equivalent to
+.BR \-L " \(dq>=wishlist\(dq)."
.TP
.BR \-E ", " \-\-display\-experimental
@@ -172,7 +174,8 @@ Display experimental ("X:") tags as well. They are normally suppressed.
Fine-grained selection of tags to be displayed. It is possible to add, remove
or set the levels to display, specifying a severity (S: serious, important,
normal, minor, wishlist), a certainty (C: certain, possible, wild-guess), or
-both (S/C).
+both (S/C). The default settings are equivalent to
+.BR \-L " \(dq>=important\(dq " \-L " \(dq+>=normal/possible\(dq " \-L " +minor/certain)."
.TP
.BR \-l " n, " \-\-unpack\-level " n"
--
Debian package checker
Reply to: