epub changes
[librarian.git] / scripts / book2epub
index 01ca79a..f87bf05 100755 (executable)
@@ -15,7 +15,15 @@ class Book2Epub(Book2Anything):
     transform_flags = [
         Option('-w', '--working-copy', dest='working-copy',
                 action='store_true', default=False,
-                help='mark the output as a working copy')
+                help='mark the output as a working copy'),
+        ]
+    transform_options = [
+        Option('-R', '--resources', dest='resources', metavar='DIR',
+                help='a directory with additional resources'),
+        Option('-I', '--intro', dest='intro_file', metavar='FILE',
+                help='HTML file containing intro'),
+        Option('-e', '--cover-file', dest='cover_file', metavar='FILE',
+               help='Cover image file'),
         ]