summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-01-26 17:18:25 +0000
committerrillig <rillig@pkgsrc.org>2020-01-26 17:18:25 +0000
commit8d627c555cb4fdc633e2d2ab8056558c863ea6da (patch)
tree6007577f05c8379c6589121b7b9558a5f0ee0241
parentec7bdf4b60c72ff0ae49696f45c761b484d0d344 (diff)
downloadpkgsrc-8d627c555cb4fdc633e2d2ab8056558c863ea6da.tar.gz
pkgtools/pkglint: update manual page
-rw-r--r--pkgtools/pkglint/files/pkglint.010
-rw-r--r--pkgtools/pkglint/files/pkglint.111
2 files changed, 14 insertions, 7 deletions
diff --git a/pkgtools/pkglint/files/pkglint.0 b/pkgtools/pkglint/files/pkglint.0
index 745920ec326..34c245b3f23 100644
--- a/pkgtools/pkglint/files/pkglint.0
+++ b/pkgtools/pkglint/files/pkglint.0
@@ -35,14 +35,18 @@ DDEESSCCRRIIPPTTIIOONN
pkgsrc. This is especially useful for packages from
the pkgsrc‐wip project.
+ −−nn|−−‐‐nneettwwoorrkk Enable checks that require network access, for exam‐
+ ple to check whether the package homepage is reach‐
+ able.
+
−−oo|−−‐‐oonnllyy _s_u_b_s_t_r_i_n_g
Only handle those diagnostics that have _s_u_b_s_t_r_i_n_g in
their text. This is useful in combination with
−−‐‐aauuttooffiixx and −−‐‐rreeccuurrssiivvee,, to fix only a single kind
of warning in a large number of files.
- −−qq|−−‐‐qquuiieett Don’t print the errors and warnings summary before
- terminating.
+ −−qq|−−‐‐qquuiieett Don’t print the errors and warnings summary at the
+ end.
−−rr|−−‐‐rreeccuurrssiivvee Check subdirectories, too. The subdirectories are
those that are mentioned in a ‘SUBDIR+=’ line.
@@ -109,4 +113,4 @@ BBUUGGSS
If you don’t understand the messages, feel free to ask the author or on
the ⟨pkgsrc‐users@pkgsrc.org⟩ mailing list.
-NetBSD 8.0 November 30, 2019 NetBSD 8.0
+NetBSD 8.0 January 26, 2020 NetBSD 8.0
diff --git a/pkgtools/pkglint/files/pkglint.1 b/pkgtools/pkglint/files/pkglint.1
index 401976de40c..dd98ef35dcd 100644
--- a/pkgtools/pkglint/files/pkglint.1
+++ b/pkgtools/pkglint/files/pkglint.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkglint.1,v 1.63 2019/12/13 01:39:23 rillig Exp $
+.\" $NetBSD: pkglint.1,v 1.64 2020/01/26 17:18:25 rillig Exp $
.\" From FreeBSD: portlint.1,v 1.8 1997/11/25 14:53:14 itojun Exp
.\"
.\" Copyright (c) 1997 by Jun-ichiro Itoh <itojun@itojun.org>.
@@ -6,9 +6,9 @@
.\"
.\" Roland Illig <roland.illig@gmx.de>, 2004, 2005.
.\" Thomas Klausner <wiz@NetBSD.org>, 2012.
-.\" Roland Illig <rillig@NetBSD.org>, 2015-2019.
+.\" Roland Illig <rillig@NetBSD.org>, 2015-2020.
.\"
-.Dd November 30, 2019
+.Dd January 26, 2020
.Dt PKGLINT 1
.Os
.Sh NAME
@@ -51,6 +51,9 @@ This flag is mainly for debugging.
.It Fl i Ns | Ns Fl -import
Check if a package is ready to be imported into pkgsrc.
This is especially useful for packages from the pkgsrc-wip project.
+.It Fl n Ns | Ns Fl -network
+Enable checks that require network access,
+for example to check whether the package homepage is reachable.
.It Fl o Ns | Ns Fl -only Ar substring
Only handle those diagnostics that have
.Ar substring
@@ -61,7 +64,7 @@ and
.Fl -recursive,
to fix only a single kind of warning in a large number of files.
.It Fl q Ns | Ns Fl -quiet
-Don't print the errors and warnings summary before terminating.
+Don't print the errors and warnings summary at the end.
.It Fl r Ns | Ns Fl -recursive
Check subdirectories, too.
The subdirectories are those that are mentioned in a