summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-22 11:03:05 +0100
committerRichard Jones <rjones@redhat.com>2009-04-22 11:03:05 +0100
commit228e71fe10128c6f91a6935e6b148c49801bb17f (patch)
tree93a2661be45a935fd13fb97a093ea4892da2ac40
parent93b14fcfe5376326632cb04e0c2f0cf1912cdbc6 (diff)
downloadlibguestfs-228e71fe10128c6f91a6935e6b148c49801bb17f.tar.gz
libguestfs-228e71fe10128c6f91a6935e6b148c49801bb17f.tar.xz
libguestfs-228e71fe10128c6f91a6935e6b148c49801bb17f.zip
Fix quoting of list args in guestfish manpage.
-rw-r--r--guestfish-actions.pod8
-rwxr-xr-xsrc/generator.ml2
2 files changed, 5 insertions, 5 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod
index 4403cb0b..4ff574fb 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<command>, but splits the
result into a list of lines.
@@ -798,7 +798,7 @@ C<LIBGUESTFS_DEBUG> 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<sfdisk(8)> 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<volgroup>
from the non-empty list of physical volumes C<physvols>.
diff --git a/src/generator.ml b/src/generator.ml
index beb36708..23738bd9 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