Simplify manpages

This commit is contained in:
sin 2013-10-17 11:41:04 +01:00
parent a966a8da7e
commit c0c5620074
6 changed files with 56 additions and 73 deletions

View File

@ -1,5 +1,4 @@
.Dd October 16, 2013 .TH CLEAR 1 ubase\-VERSION
.Dt CLEAR 1 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME clear \- clear the screen
.Nm clear - clear the screen

36
df.1
View File

@ -1,26 +1,24 @@
.Dd October 16, 2013 .TH DF 1 ubase\-VERSION
.Dt DF 1 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME df \- show file system usage
.Nm df .SH SYNOPSIS
.Nd show file system usage .B df
.Sh SYNOPSIS .RB [ \-ahsi ]
.Nm df .SH DESCRIPTION
.Op Fl ahis
.Sh DESCRIPTION
df displays the amount of disk space available on a file system. df displays the amount of disk space available on a file system.
.Pp
If no arguments are given, df shows all the file systems using 512-byte If no arguments are given, df shows all the file systems using 512-byte
blocks. blocks.
.Pp .SH OPTIONS
The options are as follows: .TP
.Bl -tag -width Ds .BI \-a
.It Fl a
Show all file systems including dummy ones. Show all file systems including dummy ones.
.It Fl h .TP
.BI \-h
Not implemented. Not implemented.
.It Fl s .TP
.BI \-s
Not implemented. Not implemented.
.It Fl i .TP
.BI \-i
Not implemented. Not implemented.
.El

31
eject.1
View File

@ -1,21 +1,14 @@
.Dd October 16, 2013 .TH EJECT 1 ubase\-VERSION
.Dt EJECT 1 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME eject \- eject removable media
.Nm eject .SH SYNOPSIS
.Nd eject removable media .B eject
.Sh SYNOPSIS .RB [ \-t ]
.Nm eject .SH DESCRIPTION
.Op Fl t
.Sh DESCRIPTION
eject allows the CD-ROM tray to be opened or closed under software eject allows the CD-ROM tray to be opened or closed under software
.br control. If no arguments are given, the CD-ROM tray is opened.
control. .SH OPTIONS
.Pp .TP
If no arguments are given, the CD-ROM tray is opened. .BI \-t
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl t
If supported, close the CD-ROM tray. If supported, close the CD-ROM tray.
.El

29
halt.1
View File

@ -1,19 +1,16 @@
.Dd October 17, 2013 .TH HALT 8 ubase\-VERSION
.Dt HALT 8 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME halt \- Halt, power-off or reboot the machine
.Nm halt .SH SYNOPSIS
.Nd Halt, power-off or reboot the machine .B halt
.Sh SYNOPSIS .RB [ \-pr ]
.Nm halt .SH DESCRIPTION
.Op Fl pr
.Sh DESCRIPTION
halt can be used to halt, power-off or reboot the machine. halt can be used to halt, power-off or reboot the machine.
.Pp .SH OPTIONS
The options are as follows: .TP
.Bl -tag -width Ds .BI \-p
.It Fl p
power-off the machine. power-off the machine.
.It Fl r .TP
.BI \-r
reboot the machine. reboot the machine.
.El

12
lsmod.1
View File

@ -1,9 +1,7 @@
.Dd October 16, 2013 .TH lsmod 8 sbase\-VERSION
.Dt lsmod 8 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME lsmod \- list loaded kernel modules
.Nm lsmod .SH DESCRIPTION
.Nd list loaded kernel modules
.Sh DESCRIPTION
lsmod parses `/proc/modules' and shows the loadable kernel modules that are lsmod parses `/proc/modules' and shows the loadable kernel modules that are
currently loaded. currently loaded.

12
lsusb.1
View File

@ -1,9 +1,7 @@
.Dd October 16, 2013 .TH LSUSB 8 ubase\-VERSION
.Dt LSUSB 8 1 .OS Linux
.Os Linux .SH NAME
.Sh NAME lsusb \- list USB devices
.Nm lsusb .SH DESCRIPTION
.Nd list USB devices
.Sh DESCRIPTION
lsusb searches in `/sys/bus/usb/devices' for usb buses and connected devices and prints lsusb searches in `/sys/bus/usb/devices' for usb buses and connected devices and prints
them one by one. them one by one.