According to the instructions in the commandline/readme.txt, I run the script by using:
Code:
calibre-debug -e me.py --help
According to:
and
http://manual.calibre-ebook.com/cli/calibre-debug.html I should instead use:
Code:
calibre-debug me.py -- --help
(the -e isn't necessary.)
And using
Code:
calibre-debug -e me.py --help
just gets me the help for calibre-debug. Or else using the options, it gets me an error (I assume calibre-debug has no idea what --smarten-punctuation is):
Spoiler:
Code:
Traceback (most recent call last):
File "site.py", line 58, in main
File "site-packages/calibre/debug.py", line 269, in main
File "site-packages/calibre/debug.py", line 187, in run_script
File "site-packages/calibre/customize/ui.py", line 15, in <module>
File "site-packages/calibre/customize/builtins.py", line 675, in <module>
File "site-packages/calibre/devices/kobo/__init__.py", line 4, in <module>
KeyboardInterrupt
So I found the instructions to use the extra "--" and it works just fine.