diff mbox

[3/4] cconf: Update manpage with correct examples

Message ID 1303032724-13456-3-git-send-email-wido@widodh.nl (mailing list archive)
State New, archived
Headers show

Commit Message

Wido den Hollander April 17, 2011, 9:32 a.m. UTC
Signed-off-by: Wido den Hollander <wido@widodh.nl>
---
 man/cconf.8 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Comments

Colin McCabe April 18, 2011, 12:38 a.m. UTC | #1
Take a look at a6f0ce4294e60dc6d6737c921bdda9111dbc7209, which I did
on Friday. Hopefully that is a lot clearer?

Colin


On Sun, Apr 17, 2011 at 2:32 AM, Wido den Hollander <wido@widodh.nl> wrote:
>
> Signed-off-by: Wido den Hollander <wido@widodh.nl>
> ---
>  man/cconf.8 |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/man/cconf.8 b/man/cconf.8
> index a6c7b02..0f678d2 100644
> --- a/man/cconf.8
> +++ b/man/cconf.8
> @@ -25,14 +25,14 @@ of type \fItype\fR.
>  \fIconffile\fP, an optional \fIdefault\fP value may be output instead.
>  .PP
>  .SH EXAMPLES
> -To extract the value of the "osd data" option for the \fIosd0\fP daemon,
> +To extract the value of the "osd data" option for the \fIosd.0\fP daemon,
>  .IP
> -cconf -c foo.conf "osd data" -i 0 -t osd
> +cconf -c foo.conf -n osd.0 "osd data"
>  .PP
> -This is equivalent to doing specifying sections \fI[osd0]\fP, \fI[osd.0]\fP,
> +This is equivalent to doing specifying sections \fI[osd.0]\fP,
>  \fI[osd]\fP, or \fI[global]\fP, in that order of preference:
>  .IP
> -cconf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global
> +cconf -c foo.conf -n osd.0 "osd data" -s osd.0 -s osd -s global
>  .PP
>  To list all sections that begin with \fIosd\fP:
>  .IP
> --
> 1.7.0.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/man/cconf.8 b/man/cconf.8
index a6c7b02..0f678d2 100644
--- a/man/cconf.8
+++ b/man/cconf.8
@@ -25,14 +25,14 @@  of type \fItype\fR.
 \fIconffile\fP, an optional \fIdefault\fP value may be output instead.
 .PP
 .SH EXAMPLES
-To extract the value of the "osd data" option for the \fIosd0\fP daemon,
+To extract the value of the "osd data" option for the \fIosd.0\fP daemon,
 .IP
-cconf -c foo.conf "osd data" -i 0 -t osd
+cconf -c foo.conf -n osd.0 "osd data"
 .PP
-This is equivalent to doing specifying sections \fI[osd0]\fP, \fI[osd.0]\fP,
+This is equivalent to doing specifying sections \fI[osd.0]\fP,
 \fI[osd]\fP, or \fI[global]\fP, in that order of preference:
 .IP
-cconf -c foo.conf "osd data" -s osd0 -s osd.0 -s osd -s global
+cconf -c foo.conf -n osd.0 "osd data" -s osd.0 -s osd -s global
 .PP
 To list all sections that begin with \fIosd\fP:
 .IP