]> git.lyx.org Git - features.git/commitdiff
Fix bug 3798.
authorJosé Matox <jamatos@lyx.org>
Mon, 10 Sep 2007 13:48:01 +0000 (13:48 +0000)
committerJosé Matox <jamatos@lyx.org>
Mon, 10 Sep 2007 13:48:01 +0000 (13:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20190 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/doc_toc.py

index b4b3e7da7197f42eb0a27ace02358ccfd0e7b2ff..62691a0e402b05e545bea8c631a8783c03f86dee 100755 (executable)
@@ -129,7 +129,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]