Merge lp:~cldunlap1/ubuntu/natty/mountall/fix-for-805509 into lp:ubuntu/natty/mountall
Proposed by
Chad Dunlap
Status: | Needs review |
---|---|
Proposed branch: | lp:~cldunlap1/ubuntu/natty/mountall/fix-for-805509 |
Merge into: | lp:ubuntu/natty/mountall |
Diff against target: |
48 lines (+30/-0) 2 files modified
debian/changelog (+6/-0) man/mountall.8 (+24/-0) |
To merge this branch: | bzr merge lp:~cldunlap1/ubuntu/natty/mountall/fix-for-805509 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Needs Fixing | ||
Review via email: mp+69128@code.launchpad.net |
Description of the change
I added the 'OPTIONS' section to the mountall man page. This is my first bug fix, so please review this. If any changes need to be made, I would love to make them for you. Please email <email address hidden> for any additional information.
Thank You,
Chad Dunlap
To post a comment you must log in.
Unmerged revisions
- 359. By Chad Dunlap <email address hidden>
-
Added the 'OPTIONS' section to the man page (LP#805509)
On Mon, Jul 25, 2011 at 04:39:31PM -0000, Chad Dunlap wrote: wait-time= value in seconds (Default is 30 seconds, Legal value between 1second to 2147483647 seconds
> === modified file 'man/mountall.8'
> --- man/mountall.8 2009-09-16 22:38:18 +0000
> +++ man/mountall.8 2011-07-25 16:39:25 +0000
> @@ -6,6 +6,30 @@
> .SH SYNOPSIS
> .B mountall
> .RI [ OPTIONS ]...
> +.SH OPTIONS
> +
> +--daemon Detach and run in the background
> +
> +--force-fsck Force check of all filesystems
> +
> +--fsck-fix Attempt to fix all fsck errors
> +
> +--no-events Do not emit events after mounting filesystems
> +
> +--dev-
> +.RS <margin position>
> + In case of (bootwait,timeout): specify the time to wait for device to be detected
> +
> +-q, --quiet reduce output to errors only
> +
> +-v, --verbose increase output to include informational messages
> +
> +--help display this help and exit
> +
> +--version output version information and exit
> +
> +By default, mountall does not detach from the console and remains in the foreground. Use
> +the --daemon option to have it detach.
Thanks for your patch!
This needs to be written rather differently in order to be formatted
properly, because manual page source is run through a specialised set of
processors.
You should use "\-" rather than "-" when you mean a literal "-"
character instead of a hyphen.
Options should be in bold.
Instead of laying out a table using tabs, you should do something like
this:
.TP
.B \-\-daemon
Detach and run in the background.
.TP
.B \-\-force\-fsck
Force check of all filesystems.
...
.TP
.B \-\-version
Output version information and exit.
.PP
By default, mountall does not detach from the console and remains in
the foreground.
Use the \-\-daemon option to have it detach.
This should remove the need for that .RS business as well - everything
from the second line after .TP onwards until the next paragraph break is
indented.
Conventionally, the OPTIONS section should come after the DESCRIPTION
section.
You can read 'man groff_man' for more details on the formatting language
used here, and you can test your page using 'man -l'.