Minor fixes.

This commit is contained in:
darko-poljak 2014-01-27 08:04:25 +01:00
parent e98c7983bc
commit e1c31080b5
1 changed files with 4 additions and 8 deletions

View File

@ -6,11 +6,8 @@ Find duplicate files and perform action.
Usage
=====
As module
---------
Print duplicates
^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
@ -18,14 +15,14 @@ Print duplicates
print(dups)
Remove duplicate files
^^^^^^^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
rm_file_dups(['images'])
Perform custom action
^^^^^^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
@ -33,8 +30,7 @@ Perform custom action
for fname in files:
print('found duplicte file with name: %s' % fname)
As script
---------
As script::
python sweeper.py --help