- parser.add_option('--bookoteka', action='store_true', dest='bookoteka', default=False,
- help='prepare files for Bookoteka')
- parser.add_option('--gandalf', action='store_true', dest='gandalf', default=False,
- help='prepare files for Gandalf')
- parser.add_option('--virtualo', action='store_true', dest='virtualo', default=False,
- help='prepare files for Virtualo API')
- parser.add_option('--prestigio', action='store_true', dest='prestigio', default=False,
- help='prepare files for Prestigio')
- parser.add_option('--prestigio-pdf', action='store_true', dest='prestigio_pdf', default=False,
- help='prepare PDF files for Prestigio')
+ parser.add_option('-f', '--force-overwrite',
+ action='store_true',
+ dest='overwrite',
+ default=False,
+ help='rebuild the file even if it already exists')
+ parser.add_option('-p', '--packages',
+ dest='packages',
+ metavar='package,...',
+ default='',
+ help='lists packages to build')
+ parser.add_option('-m', '--packages-modules',
+ dest='packages_modules', metavar='path.to.module,...',
+ default='librarian.partners',
+ help='modules with packages definitions to load')
+ parser.add_option('-l', '--list-packages',
+ action='store_true',
+ dest='list_packages',
+ default=False,
+ help='lists available packages')