+" ok = guestfs:close(G).\n"
+"\n"
+msgstr ""
+
+#. type: =head2
+#: ../erlang/examples/guestfs-erlang.pod:40
+msgid "FUNCTIONS WITH OPTIONAL ARGUMENTS"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:42
+msgid ""
+"For functions that take optional arguments, the first arguments are the non-"
+"optional ones. The last argument is a list of tuples supplying the "
+"remaining optional arguments."
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:46
+#, no-wrap
+msgid ""
+" ok = guestfs:add_drive_opts(G, Disk,\n"
+" [{format, \"raw\"}, {readonly, true}]).\n"
+"\n"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:49
+msgid "If the last argument would be an empty list, you can also omit it:"
+msgstr ""
+
+#. type: verbatim
+#: ../erlang/examples/guestfs-erlang.pod:51
+#, no-wrap
+msgid ""
+" ok = guestfs:add_drive_opts(G, Disk).\n"
+"\n"
+msgstr ""
+
+#. type: =head2
+#: ../erlang/examples/guestfs-erlang.pod:53
+msgid "RETURN VALUES AND ERRORS"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:55
+msgid ""
+"On success, most functions return a C<Result> term (which could be a list, "
+"string, tuple etc.). If there is nothing for the function to return, then "
+"the atom C<ok> is returned."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:59
+msgid "On error, you would see one of the following tuples:"
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:63
+msgid "C<{error, Msg, Errno}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:65
+msgid "This indicates an ordinary error from the function."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:67
+msgid ""
+"C<Msg> is the error message (string) and C<Errno> is the Unix error "
+"(integer)."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:70
+msgid "C<Errno> can be zero. See L<guestfs(3)/guestfs_last_errno>."
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:72
+msgid "C<{unknown, Function}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:74
+msgid ""
+"This indicates that the function you called is not known. Generally this "
+"means you are mixing C<erl-guestfs> from another version of libguestfs, "
+"which you should not do."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:78
+msgid "C<Function> is the name of the unknown function."
+msgstr ""
+
+#. type: =item
+#: ../erlang/examples/guestfs-erlang.pod:80
+msgid "C<{unknownarg, Arg}>"
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:82
+msgid ""
+"This indicates that you called a function with optional arguments, with an "
+"unknown argument name."
+msgstr ""
+
+#. type: textblock
+#: ../erlang/examples/guestfs-erlang.pod:85
+msgid "C<Arg> is the name of the unknown argument."