diff --git a/README.rst b/README.rst index e8f05fb..7ed800e 100644 --- a/README.rst +++ b/README.rst @@ -26,9 +26,8 @@ Perform custom action .. code:: python from sweeper import iter_file_dups - for files in iter_file_dups(['images']): - for fname in files: - print('found duplicate file with name: {}'.format(fname)) + for f, h, dups in iter_file_dups(['images']): + print('encountered {} which duplicates with already found duplicate files {} with hash {}'.format(f, dups, h)) As script::