From 12c9598e9ee52812895ea0dc9c317f5ff9765ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matox?= Date: Mon, 10 Sep 2007 13:45:22 +0000 Subject: [PATCH] Fix bug 3798 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@20188 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/doc/doc_toc.py | 2 +- status.15x | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/doc/doc_toc.py b/lib/doc/doc_toc.py index aa83b49407..c1ca310d8a 100755 --- a/lib/doc/doc_toc.py +++ b/lib/doc/doc_toc.py @@ -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] diff --git a/status.15x b/status.15x index 76a7ab134e..bfeb8fe366 100644 --- a/status.15x +++ b/status.15x @@ -156,3 +156,5 @@ What's new - On all supported platforms, let Qt 4.2 or higher use the math fonts in /fonts without the need of installing them. + +- Fix usage display for lib/doc_toc.py (bug 3798).