mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:25:41 +02:00
...
This commit is contained in:
commit
bef0ab4dfb
1 changed files with 2 additions and 2 deletions
|
|
@ -619,7 +619,7 @@ def validate_command_line(parser, args, log):
|
|||
|
||||
# Validate plugin exists for specified output format
|
||||
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():
|
||||
print_help(parser, log)
|
||||
|
|
@ -633,7 +633,7 @@ def validate_command_line(parser, args, log):
|
|||
log = Log()
|
||||
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.
|
||||
Options control how entries are displayed in the generated catalog ouput.
|
||||
|
|
|
|||
Loading…
Reference in a new issue