[lintian] 01/01: doc/lintian.xml: Improve example
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 2074aaa74c5f8b443d28abb9ab52c8b9dde437a3
Author: Niels Thykier <niels@thykier.net>
Date: Sun Mar 5 11:36:49 2017 +0000
doc/lintian.xml: Improve example
We wrote "Implementations should ensure the return value [of the run
sub] is undefined." three lines above the example, so lets make the
example actually follow that rule.
Signed-off-by: Niels Thykier <niels@thykier.net>
---
doc/lintian.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/lintian.xml b/doc/lintian.xml
index 3d84b18..8ef6d0b 100644
--- a/doc/lintian.xml
+++ b/doc/lintian.xml
@@ -1545,6 +1545,7 @@ Overridable: no
use Lintian::Tags qw(tag);
sub run {
tag 'my-tag', 'hallo world';
+ return;
}
</programlisting>
<para>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: