X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/5c55be51e46b296d368b86375f2f4b90ea46c00b..05fbf034b60a035d01f41dbbafffb493e584537a:/scripts/book2epub diff --git a/scripts/book2epub b/scripts/book2epub index 01ca79a..f87bf05 100755 --- a/scripts/book2epub +++ b/scripts/book2epub @@ -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'), ]