ebook-convert help displays escape characters

Bug #1158499 reported by PeterT
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

Calibre version 0.9.23 [64bit]

Executing ebook-convert with no parameters displays

Usage: ebook-convert.exe input_file output_file [options]

Convert an ebook from one format to another.

input_file is the input and output_file is the output. Both must be specified as the first two arguments to the command.

The output ebook format is guessed from the file extension of output_file. output_file can also be of the special format .EXT where EXT is the output file extension. In this case, the name of the output file is derived the name of the input file. Note that the filenames must not start with a hyphen. Finally, if output_file has no extension, then it is treated as a directory and an "open ebook" (OEB) consisting of HTML files is written to that directory. These files are the files that would normally have been passed to the output plugin.

After specifying the input and output file you can customize the conversion by specifying various options. The available options depend on the input and output file types. To get help on them specify the input and output file and then use the -h option.

For full documentation of the conversion system see
http://manual.calibre-ebook.com/conversion.html

Whenever you pass arguments to ebook-convert.exe that have spaces in them, enclose the arguments in quotation marks.
Options:
  --version show program's version number and exit

  -h, --help show this help message and exit

  --list-recipes List builtin recipe names. You can create an ebook from a
                  builtin recipe like this: ebook-convert "Recipe Name.recipe"
                  output.epub

Created by Kovid Goyal <email address hidden>

Related branches

Revision history for this message
Kovid Goyal (kovid) wrote :

Those are ansi escape codes that are used to color the output. They are only output in unix terminals which can handle them. On windows windows native console coloring is used. What terminal are you using that cannot handle ansi escape codes?

Changed in calibre:
status: New → Incomplete
Revision history for this message
PeterT (peterjt) wrote :

This is running on native Windows 7, 64 bit in the standard cmd prompt; other commands seem to display help correctly.

Revision history for this message
PeterT (peterjt) wrote :

Actually ebook-meta does display the help with colours

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in lp:calibre

Fixed in branch lp:calibre. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.