diff --git a/doc/usage.rst b/doc/usage.rst index 3c8ab04e..f598c2b4 100644 --- a/doc/usage.rst +++ b/doc/usage.rst @@ -153,9 +153,9 @@ Argument errors raise a :class:`pysam.SamtoolsError`:: pysam.SamtoolsError: 'Usage: samtools sort [-n] [-m ] \n' Messages from `samtools`_ on stderr are captured and are -available using the :meth:`getMessages` method:: +available using the :meth:`get_messages()` method:: - pysam.sort.getMessage() + pysam.sort.get_messages() Note that only the output from the last invocation of a command is stored.