mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
usage info about using calibre-debug to run scripts
This commit is contained in:
parent
e2730ad193
commit
b1f6874442
@ -22,6 +22,12 @@ calibre GUI and the calibre viewer in debug mode.
|
||||
It also contains interfaces to various bits of calibre that do not have
|
||||
dedicated command line tools, such as font subsetting, tweaking ebooks and so
|
||||
on.
|
||||
|
||||
You can also use %prog to run standalone scripts. To do that use it like this:
|
||||
|
||||
%prog mysrcipt.py -- --option1 --option2 file1 file2 ...
|
||||
|
||||
Everything after the -- is passed to the script.
|
||||
''')
|
||||
parser.add_option('-c', '--command', help='Run python code.')
|
||||
parser.add_option('-e', '--exec-file', help='Run the python code in file.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user