Modify generate-db command help (#268)

This commit is contained in:
Matt Carey 2018-03-02 08:24:18 +00:00 committed by Jaisen Mathai
parent aa12ffb13b
commit 6bde29095c
2 changed files with 3 additions and 3 deletions

View File

@ -154,8 +154,8 @@ Options:
``` ```
Usage: elodie.py generate-db [OPTIONS] Usage: elodie.py generate-db [OPTIONS]
Regenerate the hash.json database which contains all of the sha1 Regenerate the hash.json database which contains all of the sha256
signatures of media files. signatures of media files. The hash.json file is located at ~/.elodie/.
Options: Options:
--source DIRECTORY Source of your photo library. [required] --source DIRECTORY Source of your photo library. [required]

View File

@ -128,7 +128,7 @@ def _import(destination, source, file, album_from_folder, trash, allow_duplicate
@click.option('--debug', default=False, is_flag=True, @click.option('--debug', default=False, is_flag=True,
help='Override the value in constants.py with True.') help='Override the value in constants.py with True.')
def _generate_db(source, debug): def _generate_db(source, debug):
"""Regenerate the hash.json database which contains all of the sha1 signatures of media files. """Regenerate the hash.json database which contains all of the sha256 signatures of media files. The hash.json file is located at ~/.elodie/.
""" """
constants.debug = debug constants.debug = debug
result = Result() result = Result()