Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] doc: login-utils/*: Fix some warnings from "mandoc -T lint"
@ 2020-06-10 22:49 Bjarni Ingi Gislason
  0 siblings, 0 replies; only message in thread
From: Bjarni Ingi Gislason @ 2020-06-10 22:49 UTC (permalink / raw)
  To: util-linux

mandoc: ./login-utils/chfn.1:96:2: WARNING: skipping paragraph macro: PP empty

mandoc: ./login-utils/lslogins.1:14:2: WARNING: skipping paragraph macro: PP after SH

mandoc: ./login-utils/newgrp.1:18:2: WARNING: skipping paragraph macro: PP empty

mandoc: ./login-utils/nologin.8:19:2: WARNING: skipping paragraph macro: PP empty

mandoc: ./login-utils/sulogin.8:57:2: WARNING: skipping paragraph macro: PP empty

mandoc: ./login-utils/utmpdump.1:61:2: WARNING: skipping paragraph macro: PP after SS

mandoc: ./login-utils/vipw.8:65:2: WARNING: line scope broken: TP breaks I

####

  There is no change in output from "nroff" or "groff".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 login-utils/chfn.1     | 1 -
 login-utils/lslogins.1 | 1 -
 login-utils/newgrp.1   | 1 -
 login-utils/nologin.8  | 1 -
 login-utils/sulogin.8  | 1 -
 login-utils/utmpdump.1 | 1 -
 login-utils/vipw.8     | 1 -
 7 files changed, 7 deletions(-)

diff --git a/login-utils/chfn.1 b/login-utils/chfn.1
index 23f048325..9e4569622 100644
--- a/login-utils/chfn.1
+++ b/login-utils/chfn.1
@@ -93,7 +93,6 @@ r = Office (room), w = Office (work) Phone, h = Home Phone.  For example,
 If CHFN_RESTRICT is undefined, then all finger information is read-only.
 This is the default.
 .RE
-.PP
 .SH EXIT STATUS
 Returns 0 if operation was successful, 1 if operation failed or command syntax was not valid.
 .SH AUTHORS
diff --git a/login-utils/lslogins.1 b/login-utils/lslogins.1
index 123f61ccf..6824001d4 100644
--- a/login-utils/lslogins.1
+++ b/login-utils/lslogins.1
@@ -11,7 +11,6 @@ lslogins \- display information about known users in the system
 .RB [ \-l " \fIlogins\fR]"
 .RI [ username ]
 .SH DESCRIPTION
-.PP
 Examine the wtmp and btmp logs, /etc/shadow (if necessary) and /etc/passwd
 and output the desired data.
 
diff --git a/login-utils/newgrp.1 b/login-utils/newgrp.1
index 9902cd547..dc89b3cc2 100644
--- a/login-utils/newgrp.1
+++ b/login-utils/newgrp.1
@@ -15,7 +15,6 @@ is unchanged, but calculations of access permissions to files are performed
 with respect to the new group ID.
 .LP
 If no group is specified, the GID is changed to the login GID.
-.LP
 .SH FILES
 .I /etc/group
 .br
diff --git a/login-utils/nologin.8 b/login-utils/nologin.8
index 6fc6fc68f..a95ff2ba1 100644
--- a/login-utils/nologin.8
+++ b/login-utils/nologin.8
@@ -16,7 +16,6 @@ user instead of the default message.
 The exit status returned by
 .B nologin
 is always 1.
-.PP
 .SH OPTIONS
 \fB\-c\fR, \fB\-\-command\fR \fIcommand\fR
 .br
diff --git a/login-utils/sulogin.8 b/login-utils/sulogin.8
index 7e77cd541..0ba003ad3 100644
--- a/login-utils/sulogin.8
+++ b/login-utils/sulogin.8
@@ -54,7 +54,6 @@ to get the password.  If these files are damaged or nonexistent, or when
 root account is locked by '!' or '*' at the begin of the password then
 .B sulogin
 will \fBstart a root shell without asking for a password\fP.
-.PP
 .IP
 Only use the
 .B \-e
diff --git a/login-utils/utmpdump.1 b/login-utils/utmpdump.1
index 4085f1760..c11a28fcc 100644
--- a/login-utils/utmpdump.1
+++ b/login-utils/utmpdump.1
@@ -58,7 +58,6 @@ But be warned,
 .B utmpdump
 was written for debugging purposes only.
 .SS File formats
-.PP
 Only the binary version of the
 .BR utmp (5)
 is standardised.  Textual dumps may become incompatible in future.
diff --git a/login-utils/vipw.8 b/login-utils/vipw.8
index 6f9695ae4..e3d9eebf0 100644
--- a/login-utils/vipw.8
+++ b/login-utils/vipw.8
@@ -62,7 +62,6 @@ If the following environment variable exists, it will be utilized by
 .B vipw
 and
 .BR vigr :
-.I
 .TP
 .B EDITOR
 The editor specified by the string
-- 
2.26.2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 22:49 [PATCH] doc: login-utils/*: Fix some warnings from "mandoc -T lint" Bjarni Ingi Gislason

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git