This commit is contained in:
Kovid Goyal 2010-01-13 15:33:44 -07:00
commit bef0ab4dfb

View File

@ -619,7 +619,7 @@ def catalog_option_parser(args):
# Validate plugin exists for specified output format # Validate plugin exists for specified output format
output = os.path.abspath(args[0]) output = os.path.abspath(args[0])
file_extension = output[output.rfind('.') + 1:] file_extension = output[output.rfind('.') + 1:].lower()
if not file_extension in available_catalog_formats(): if not file_extension in available_catalog_formats():
print_help(parser, log) print_help(parser, log)
@ -633,7 +633,7 @@ def catalog_option_parser(args):
log = Log() log = Log()
parser = get_parser(_( parser = get_parser(_(
''' '''
%prog catalog /path/to/destination.(epub|csv|xml|...) [options] %prog catalog /path/to/destination.(csv|epub|mobi|xml ...) [options]
Export a catalog in format specified by path/to/destination extension. Export a catalog in format specified by path/to/destination extension.
Options control how entries are displayed in the generated catalog ouput. Options control how entries are displayed in the generated catalog ouput.