diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-08-02 17:21:47 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-02 17:21:47 +0100 |
commit | 863168467f14e33407c4bf9c7f790bcd4911aea3 (patch) | |
tree | 85742a492a5fda865939294fa3d998b46cf37783 /python/examples/guestfs-python.pod | |
parent | b3d0cc0588845d3cad3fd67943d93e1bd87b1700 (diff) | |
download | libguestfs-863168467f14e33407c4bf9c7f790bcd4911aea3.tar.gz libguestfs-863168467f14e33407c4bf9c7f790bcd4911aea3.tar.xz libguestfs-863168467f14e33407c4bf9c7f790bcd4911aea3.zip |
examples: Use add_drive_opts function in examples.
In libguestfs 1.20, you will be able to use 'add_drive'
instead of 'add_drive_opts' (except in the C bindings).
However until libguestfs 1.20 is the minimum stable version
people will still be using old versions where you have to use
'add_drive_opts'. This makes the examples confusing.
Therefore continue to use 'add_drive_opts' in the examples
for now.
Diffstat (limited to 'python/examples/guestfs-python.pod')
-rw-r--r-- | python/examples/guestfs-python.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/guestfs-python.pod b/python/examples/guestfs-python.pod index 59f60e57..e4406f55 100644 --- a/python/examples/guestfs-python.pod +++ b/python/examples/guestfs-python.pod @@ -8,7 +8,7 @@ guestfs-python - How to use libguestfs from Python import guestfs g = guestfs.GuestFS () - g.add_drive ("disk.img", format="raw", readonly=1) + g.add_drive_opts ("disk.img", format="raw", readonly=1) g.launch () =head1 DESCRIPTION |