From: Richard Jones Date: Wed, 22 Apr 2009 10:03:05 +0000 (+0100) Subject: Fix quoting of list args in guestfish manpage. X-Git-Tag: 1.0.7~1 X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=228e71fe10128c6f91a6935e6b148c49801bb17f Fix quoting of list args in guestfish manpage. --- diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 4403cb0..4ff574f 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -360,7 +360,7 @@ yourself (Augeas support makes this relatively easy). =head2 command - command arguments,... + command 'arguments ...' This call runs a command from the guest filesystem. The filesystem must be mounted, and must contain a compatible @@ -385,7 +385,7 @@ locations. =head2 command-lines - command-lines arguments,... + command-lines 'arguments ...' This is the same as C, but splits the result into a list of lines. @@ -798,7 +798,7 @@ C is defined and set to C<1>. =head2 sfdisk - sfdisk device cyls heads sectors lines,... + sfdisk device cyls heads sectors 'lines ...' This is a direct interface to the L program for creating partitions on block devices. @@ -946,7 +946,7 @@ Use C<-> instead of a filename to read/write from stdin/stdout. =head2 vgcreate - vgcreate volgroup physvols,... + vgcreate volgroup 'physvols ...' This creates an LVM volume group called C from the non-empty list of physical volumes C. diff --git a/src/generator.ml b/src/generator.ml index beb3670..23738bd 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -3796,7 +3796,7 @@ and generate_fish_actions_pod () = function | String n -> pr " %s" n | OptString n -> pr " %s" n - | StringList n -> pr " %s,..." n + | StringList n -> pr " '%s ...'" n | Bool _ -> pr " true|false" | Int n -> pr " %s" n | FileIn n | FileOut n -> pr " (%s|-)" n