Small manual page formatting cleanup

This commit is contained in:
Yorhel 2009-04-05 15:23:16 +02:00
parent b56a70afc3
commit e45afea1d6

View file

@ -1,19 +1,16 @@
.TH NCDU 1 "September 10, 2008" "ncdu-git" "ncdu manual" .TH NCDU 1 "September 10, 2008" "ncdu-git" "ncdu manual"
.SH NAME .SH NAME
\fBncdu \fP- NCurses Disk Usage \fBncdu \fP- NCurses Disk Usage
.SH SYNOPSIS .SH SYNOPSIS
.nf
.fam C
\fBncdu\fP [\fB-hqvx\fP] [\fB--exclude PATTERN\fP] [\fB-X FILE\fP] \fIdir\fP \fBncdu\fP [\fB-hqvx\fP] [\fB--exclude PATTERN\fP] [\fB-X FILE\fP] \fIdir\fP
.fam T
.fi
.SH DESCRIPTION .SH DESCRIPTION
\fBncdu\fP (NCurses Disk Usage) is a curses-based version of \fBncdu\fP (NCurses Disk Usage) is a curses-based version of
the well-known 'du', and provides a fast way to see what the well-known 'du', and provides a fast way to see what
directories are using your disk space. directories are using your disk space.
.PP
For a more detailed explanation of \fBncdu\fP, please check
http://dev.yorhel.nl/ncdu/
.SH OPTIONS .SH OPTIONS
.TP .TP
\fB-h\fP \fB-h\fP
@ -40,78 +37,67 @@ be added multiple times to add more patterns.
\fB-X\fP FILE, \fB--exclude-from\fP FILE \fB-X\fP FILE, \fB--exclude-from\fP FILE
Exclude files that match any pattern in FILE. Patterns Exclude files that match any pattern in FILE. Patterns
should be seperated by a newline. should be seperated by a newline.
.SH KEYS .SH KEYS
.TP .TP
.B \fB?\fP
?
Show help + keys + about screen Show help + keys + about screen
.TP .TP
.B \fBup/down\fP
up/down
Cycle through the items Cycle through the items
.TP .TP
.B \fBright/enter\fP
right/enter
Open selected directory Open selected directory
.TP .TP
.B \fBleft\fP
left
Go to parent directory Go to parent directory
.TP .TP
.B \fBn\fP
n
Order by filename (press again for descending order) Order by filename (press again for descending order)
.TP .TP
.B \fBs\fP
s
Order by filesize (press again for descending order) Order by filesize (press again for descending order)
.TP .TP
.B \fBa\fP
a
Toggle between showing disk usage and showing apparent size. Toggle between showing disk usage and showing apparent size.
.TP .TP
.B \fBd\fP
d
Delete the selected file or directory. An error message will be shown Delete the selected file or directory. An error message will be shown
when the contents of the directory do not match or do not exist anymore when the contents of the directory do not match or do not exist anymore
on the filesystem. on the filesystem.
.TP .TP
.B \fBt\fP
t
Toggle dirs before files when sorting. Toggle dirs before files when sorting.
.TP .TP
.B \fBg\fP
g
Toggle between showing percentage, graph, both, or none. Percentage Toggle between showing percentage, graph, both, or none. Percentage
is relative to the size of the current directory, graph is relative is relative to the size of the current directory, graph is relative
to the largest item in the current directory. to the largest item in the current directory.
.TP .TP
.B \fBp\fP
p
Use powers of 1000 instead of 1024, press again to switch back Use powers of 1000 instead of 1024, press again to switch back
.TP .TP
.B \fBh\fP
h
Show/hide 'hidden' or 'excluded' files and directories. Please note that Show/hide 'hidden' or 'excluded' files and directories. Please note that
even though you can't see the hidden files and directories, they are still even though you can't see the hidden files and directories, they are still
there and they are still included in the directory sizes. If you suspect there and they are still included in the directory sizes. If you suspect
that the totals shown at the bottom of the screen are not correct, make that the totals shown at the bottom of the screen are not correct, make
sure you haven't enabled this option. sure you haven't enabled this option.
.TP .TP
.B \fBi\fP
i
Show information about the current selected item. Show information about the current selected item.
.TP .TP
.B \fBr\fP
r
Refresh/recalculate the current directory. Refresh/recalculate the current directory.
.TP .TP
.B \fBq\fP
q
Quit Quit
.SH AUTHOR .SH AUTHOR
Written by Yoran Heling <projects@yorhel.nl>. Written by Yoran Heling <projects@yorhel.nl>.
.SH BUGS .SH BUGS
Infinite. Please contact the author if you find one. Infinite. Please contact the author if you find one.
.SH SEE ALSO .SH SEE ALSO
\fBdu\fP(1) \fBdu\fP(1)