summaryrefslogtreecommitdiffstats
path: root/python/examples/guestfs-python.pod
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/guestfs-python.pod')
-rw-r--r--python/examples/guestfs-python.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/guestfs-python.pod b/python/examples/guestfs-python.pod
index e4406f55..59f60e57 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_opts ("disk.img", format="raw", readonly=1)
+ g.add_drive ("disk.img", format="raw", readonly=1)
g.launch ()
=head1 DESCRIPTION