From e98c7983bc6e76ba3a999a0a76afe97267bcca12 Mon Sep 17 00:00:00 2001 From: darko-poljak Date: Mon, 27 Jan 2014 08:03:00 +0100 Subject: [PATCH] Minor fixes. --- README.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 9f70e9b..c1b8f0f 100644 --- a/README.rst +++ b/README.rst @@ -12,6 +12,7 @@ As module Print duplicates ^^^^^^^^^^^^^^^^ .. code:: python + from sweeper import file_dups dups = file_dups(['images1', 'images2']) print(dups) @@ -19,12 +20,14 @@ Print duplicates Remove duplicate files ^^^^^^^^^^^^^^^^^^^^^^ .. code:: python + from sweeper import file_dups rm_file_dups(['images']) Perform custom action ^^^^^^^^^^^^^^^^^^^^^ - .. code:: python +.. code:: python + from sweeper import file_dups for files in do_with_file_dups(['images']): for fname in files: @@ -32,6 +35,7 @@ Perform custom action As script --------- + python sweeper.py --help Installation