summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-05-26 14:04:48 +0200
committerBrian Behlendorf <[email protected]>2021-06-09 13:05:34 -0700
commit8ed04625db25b07dc004c717edef25b5c1a86980 (patch)
tree434b1f7c8b258b39e4fd56f6833d17f25ca9965a /man
parentc3c65e3cfb6290ba46533547cf13dae42012d38c (diff)
zgenhostid.8: use single-line indent macro for single-line examples
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12125
Diffstat (limited to 'man')
-rw-r--r--man/man8/zgenhostid.823
1 files changed, 7 insertions, 16 deletions
diff --git a/man/man8/zgenhostid.8 b/man/man8/zgenhostid.8
index eb0fde748..4f926f473 100644
--- a/man/man8/zgenhostid.8
+++ b/man/man8/zgenhostid.8
@@ -21,7 +21,7 @@
.\"
.\" Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
.\"
-.Dd March 18, 2021
+.Dd May 26, 2021
.Dt ZGENHOSTID 8 SMM
.Os
.Sh NAME
@@ -71,22 +71,13 @@ digits long, optionally prefixed by
.Sh EXAMPLES
.Bl -tag -width Bd
.It Generate a random hostid and store it
-.Bd -literal
-# zgenhostid
-.Ed
+.Dl # zgenhostid
.It Record the libc-generated hostid in Pa /etc/hostid
-.Bd -literal
-# zgenhostid "$(hostid)"
-.Ed
+.Dl # zgenhostid "$(hostid)"
.It Record a custom hostid (0xdeadbeef) in Pa /etc/hostid
-.Bd -literal
-# zgenhostid deadbeef
-.Ed
-.It Record a custom hostid (0x01234567) in Pa /tmp/hostid
-and ovewrite the file if it exists
-.Bd -literal
-# zgenhostid -f -o /tmp/hostid 0x01234567
-.Ed
+.Dl # zgenhostid deadbeef
+.It Record a custom hostid (0x01234567) in Pa /tmp/hostid No and ovewrite the file if it exists
+.Dl # zgenhostid -f -o /tmp/hostid 0x01234567
.El
.Sh SEE ALSO
.Xr genhostid 1 ,
@@ -98,6 +89,6 @@ and ovewrite the file if it exists
emulates the
.Xr genhostid 1
utility and is provided for use on systems which
-do not include the utility or do not provide
+do not include the utility or do not provide the
.Xr sethostid 3
call.