[PhotoFloat] [PATCH 2/2] clarify usage
anarcat at orangeseeds.org
anarcat at orangeseeds.org
Mon Jun 24 03:45:35 CEST 2013
From: Antoine Beaupré <anarcat at koumbit.org>
---
scanner/main.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scanner/main.py b/scanner/main.py
index 9ae8f6a..55217b2 100755
--- a/scanner/main.py
+++ b/scanner/main.py
@@ -9,7 +9,11 @@ def main():
sys.setdefaultencoding("UTF-8")
if len(sys.argv) < 2:
- print "usage: %s ALBUM_PATH [ CACHE_PATH ]" % sys.argv[0]
+ print """usage: %s <album> [ <cache> ]
+
+<album>: a directory where you store a hierarchy of album folders
+<cache>: where photofloat will generate thumbnails and other data (default: <album>/../cache)
+""" % sys.argv[0]
return
if len(sys.argv) < 3:
sys.argv.append('%s/../cache' % sys.argv[1])
--
1.7.10.4
More information about the PhotoFloat
mailing list