Fix manpage style

This commit is contained in:
sin 2014-04-13 16:40:40 +01:00
parent a226576983
commit 59769ecf3b
13 changed files with 58 additions and 29 deletions

View File

@ -13,6 +13,8 @@ always the process with PID 1). If this option is used, the init(8)
program must support this feature.
.SH OPTIONS
.TP
\fB-h\fR perform a hard reset
\fB-h\fR
Perform a hard reset
.TP
\fB-s\fR perform a soft reset
\fB-s\fR
Perform a soft reset

12
df.1
View File

@ -9,11 +9,15 @@ If no arguments are given, df shows all the file systems using 512-byte
blocks.
.SH OPTIONS
.TP
\fB-a\fR Show all file systems including dummy ones. This is the default
\fB-a\fR
Show all file systems including dummy ones. This is the default
option.
.TP
\fB-h\fR Not implemented.
\fB-h\fR
Not implemented.
.TP
\fB-s\fR Not implemented.
\fB-s\fR
Not implemented.
.TP
\fB-i\fR Not implemented.
\fB-i\fR
Not implemented.

12
dmesg.1
View File

@ -9,10 +9,14 @@ it reads all the messages from the kernel ring buffer and prints them
on stdout.
.SH OPTIONS
.TP
\fB-C\fR Clear the ring buffer.
\fB-C\fR
Clear the ring buffer.
.TP
\fB-c\fR Clear the ring buffer after printing its contents.
\fB-c\fR
Clear the ring buffer after printing its contents.
.TP
\fB-n\fR Set the console \fIlevel\fR.
\fB-n\fR
Set the console \fIlevel\fR.
.TP
\fB-r\fR Print the raw message buffer.
\fB-r\fR
Print the raw message buffer.

View File

@ -8,4 +8,5 @@
control. If no arguments are given, the CD-ROM tray is opened.
.SH OPTIONS
.TP
\fB-t\fR If supported, close the CD-ROM tray.
\fB-t\fR
If supported, close the CD-ROM tray.

View File

@ -11,8 +11,10 @@ As of the Linux Kernel v2.6.31, the fallocate system call is supported
by the btrfs, ext4, ocfs2, and xfs filesystems.
.SH OPTIONS
.TP
\fB-o\fR Specifies the beginning offset of the allocation, in bytes.
\fB-o\fR
Specifies the beginning offset of the allocation, in bytes.
.TP
\fB-l\fR Specifies the length of the allocation, in bytes.
\fB-l\fR
Specifies the length of the allocation, in bytes.
.SH SEE ALSO
fallocate(2)

12
free.1
View File

@ -8,10 +8,14 @@
memory in the system, as well as the buffers used by the kernel.
.SH OPTIONS
.TP
\fB-b\fR Display the amount of memory in bytes. This is the default.
\fB-b\fR
Display the amount of memory in bytes. This is the default.
.TP
\fB-k\fR Display the amount of memory in kilobytes.
\fB-k\fR
Display the amount of memory in kilobytes.
.TP
\fB-m\fR Display the amount of memory in megabytes.
\fB-m\fR
Display the amount of memory in megabytes.
.TP
\fB-g\fR Display the amount of memory in gigabytes.
\fB-g\fR
Display the amount of memory in gigabytes.

6
halt.8
View File

@ -9,6 +9,8 @@ This is a low-level tool and should not be used directly or data-loss
can happen if the filesystems are not properly unmounted first.
.SH OPTIONS
.TP
\fB-p\fR Power-off the machine.
\fB-p\fR
Power-off the machine.
.TP
\fB-r\fR Reboot the machine.
\fB-r\fR
Reboot the machine.

3
id.1
View File

@ -9,6 +9,7 @@ If a login name or uid is specified, the user and group information of that
user is displayed.
.SH OPTIONS
.TP
\fB-G\fR Display group information as whitespace separated numbers, in no particular order.
\fB-G\fR
Display group information as whitespace separated numbers, in no particular order.
.SH SEE ALSO
who(1)

View File

@ -9,8 +9,10 @@ It sends a signal to all processes except kernel threads and the processes
in its own session. It is primarily used by the system's init scripts.
.SH OPTIONS
.TP
\fB-o\fR Tell killall5 to omit processes with that process id.
\fB-o\fR
Tell killall5 to omit processes with that process id.
.TP
\fB-s\fR Send \fIsignal\fR instead of the default SIGTERM.
\fB-s\fR
Send \fIsignal\fR instead of the default SIGTERM.
.SH SEE ALSO
halt(8), reboot(8)

View File

@ -10,9 +10,11 @@
/proc/mounts file.
.SH OPTIONS
.TP
\fB-d\fR Print the major/minor device number of the filesystem on stdout.
\fB-d\fR
Print the major/minor device number of the filesystem on stdout.
.TP
\fB-q\fR Be quiet, don't print anything.
\fB-q\fR
Be quiet, don't print anything.
.TP
\fB-x\fR Print the major/minor device number of the \fIdevice\fR on stdout.
.SH SEE ALSO

3
stat.1
View File

@ -8,6 +8,7 @@
are specified.
.SH OPTIONS
.TP
\fB-L\fR Follow links.
\fB-L\fR
Follow links.
.SH SEE ALSO
stat (2)

View File

@ -11,8 +11,10 @@ If a \fIfile\fR is shorter, it is extended and the extended part (hole) reads
as zero bytes.
.SH OPTIONS
.TP
\fB-c\fR Do not create any files.
\fB-c\fR
Do not create any files.
.TP
\fB-s\fR Set or adjust the file size by \fIsize\fR bytes.
\fB-s\fR
Set or adjust the file size by \fIsize\fR bytes.
.SH SEE ALSO
truncate(2), ftruncate(2)

6
who.1
View File

@ -8,9 +8,11 @@
time at which they logged on.
.SH OPTIONS
.TP
\fB-m\fR Only show users on current tty.
\fB-m\fR
Only show users on current tty.
.TP
\fB-l\fR Print LOGIN processes as well.
\fB-l\fR
Print LOGIN processes as well.
.SH BUGS
\fBwho\fR relies on the utmp file to be updated responsibly. This
doesn't always happen, which can cause who to print completely