summaryrefslogtreecommitdiffstats
path: root/fish/guestfish.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-14 12:42:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-14 12:42:24 +0100
commit7486fc6f43bdb22a989cc039e361afc4c0658d52 (patch)
treeeebbe3e0bb3ec8c79a1a60961f1d7c2ea96a28e1 /fish/guestfish.pod
parentb48ae2eadf43315159f2174c8fd35b05ede14c0f (diff)
downloadlibguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.tar.gz
libguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.tar.xz
libguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.zip
generator: Rename 'add_drive_opts' API to 'add_drive'.
By using the once_had_no_optargs flag, this change is backwards compatible for callers (except Haskell, PHP and GObject as discussed in earlier commit).
Diffstat (limited to 'fish/guestfish.pod')
-rw-r--r--fish/guestfish.pod8
1 files changed, 4 insertions, 4 deletions
diff --git a/fish/guestfish.pod b/fish/guestfish.pod
index 29aa2d6e..07e268c3 100644
--- a/fish/guestfish.pod
+++ b/fish/guestfish.pod
@@ -253,7 +253,7 @@ auto-detection for C<another.img>.
If you have untrusted raw-format guest disk images, you should use
this option to specify the disk format. This avoids a possible
security problem with malicious guests (CVE-2010-3851). See also
-L</add-drive-opts>.
+L</add>.
=item B<-i>
@@ -594,11 +594,11 @@ Some commands take optional arguments. These arguments appear in this
documentation as C<[argname:..]>. You can use them as in these
examples:
- add-drive-opts filename
+ add filename
- add-drive-opts filename readonly:true
+ add filename readonly:true
- add-drive-opts filename format:qcow2 readonly:false
+ add filename format:qcow2 readonly:false
Each optional argument can appear at most once. All optional
arguments must appear after the required ones.