[ '--source', '-s', GetoptLong::REQUIRED_ARGUMENT, _("Directory which contains original images/videos as files or subdirs") ],
[ '--destination', '-d', GetoptLong::REQUIRED_ARGUMENT, _("Directory which will contain the web-album") ],
- [ '--clean', '-c', GetoptLong::NO_ARGUMENT, _("Clean destination directory") ],
+# [ '--clean', '-c', GetoptLong::NO_ARGUMENT, _("Clean destination directory") ],
[ '--theme', '-t', GetoptLong::REQUIRED_ARGUMENT, _("Select HTML theme to use") ],
[ '--config', '-C', GetoptLong::REQUIRED_ARGUMENT, _("File containing config listing images and videos within directories with captions") ],
if $dest != make_dest_filename($dest)
die __("Sorry, destination directory can't contain non simple alphanumeric characters.")
end
- when '--clean'
- system("rm -rf #{$dest}")
+# when '--clean'
+# system("rm -rf #{$dest}")
when '--theme'
select_theme(arg)