--- a/degal/main.py Thu Jun 11 23:57:53 2009 +0300
+++ b/degal/main.py Sun Jun 14 16:19:27 2009 +0300
@@ -18,9 +18,6 @@
parser.add_option('-G', "--gallery-path", metavar='DIR', dest='gallery_path', default=None,
help="Use DIR as the Gallery path [default: CWD]")
- parser.add_option('-R', "--read-only", dest='read_only', action="store_true", default=False,
- help="Do not attempt to modify the gallery")
-
parser.add_option('-F', "--force-update", dest='force_update', action="store_true", default=False,
help="--force-thumb + --force-html")
@@ -50,9 +47,6 @@
if options.gallery_path :
config.gallery_path = options.gallery_path
- if options.read_only :
- config.read_only = True
-
if options.force_update :
config.force_html = True
config.force_thumb = True