Fix bug 3798

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20188 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2007-09-10 13:45:22 +00:00
parent e93b4dc529
commit 12c9598e9e
2 changed files with 3 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def build_toc(output, documents, lang=None):
def main(argv):
if len(argv) != 3:
usage()
usage(argv[0])
sys.exit(1)
lang = argv[1]

View File

@ -156,3 +156,5 @@ What's new
- On all supported platforms, let Qt 4.2 or higher use the math fonts in
<sysdir>/fonts without the need of installing them.
- Fix usage display for lib/doc_toc.py (bug 3798).