parser = config().option_parser('%prog ' + _('[options]\n\nStart the calibre content server. The calibre content server\nexposes your calibre library over the internet. The default interface\nallows you to browse you calibre library by categories. You can also\naccess an interface optimized for mobile browsers at /mobile and an\nOPDS based interface for use with reading applications at /opds.\n\nThe OPDS interface is advertised via BonJour automatically.\n'))
parser.add_option('--with-library', default = None, help = _('Path to the library folder to serve with the content server'))
parser.add_option('--pidfile', default = None, help = _('Write process PID to the specified file'))
parser.add_option('--daemonize', default = False, action = 'store_true', help = 'Run process in background as a daemon. No effect on windows.')
parser.add_option('--restriction', default = None, help = _('Specifies a restriction to be used for this invocation. This option overrides any per-library settings specified in the GUI'))
parser.add_option('--auto-reload', default = False, action = 'store_true', help = _('Auto reload server when source code changes. May not work in all environments.'))