zgenhostid.8: use single-line indent macro for single-line examples

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12125
This commit is contained in:
наб 2021-05-26 14:04:48 +02:00 committed by Brian Behlendorf
parent 757df52928
commit b1821d06c3
1 changed files with 7 additions and 16 deletions

View File

@ -21,7 +21,7 @@
.\" .\"
.\" Copyright (c) 2017 by Lawrence Livermore National Security, LLC. .\" Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
.\" .\"
.Dd March 18, 2021 .Dd May 26, 2021
.Dt ZGENHOSTID 8 SMM .Dt ZGENHOSTID 8 SMM
.Os .Os
.Sh NAME .Sh NAME
@ -71,22 +71,13 @@ digits long, optionally prefixed by
.Sh EXAMPLES .Sh EXAMPLES
.Bl -tag -width Bd .Bl -tag -width Bd
.It Generate a random hostid and store it .It Generate a random hostid and store it
.Bd -literal .Dl # zgenhostid
# zgenhostid
.Ed
.It Record the libc-generated hostid in Pa /etc/hostid .It Record the libc-generated hostid in Pa /etc/hostid
.Bd -literal .Dl # zgenhostid "$(hostid)"
# zgenhostid "$(hostid)"
.Ed
.It Record a custom hostid (0xdeadbeef) in Pa /etc/hostid .It Record a custom hostid (0xdeadbeef) in Pa /etc/hostid
.Bd -literal .Dl # zgenhostid deadbeef
# zgenhostid deadbeef .It Record a custom hostid (0x01234567) in Pa /tmp/hostid No and ovewrite the file if it exists
.Ed .Dl # zgenhostid -f -o /tmp/hostid 0x01234567
.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
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr genhostid 1 , .Xr genhostid 1 ,
@ -98,6 +89,6 @@ and ovewrite the file if it exists
emulates the emulates the
.Xr genhostid 1 .Xr genhostid 1
utility and is provided for use on systems which 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 .Xr sethostid 3
call. call.