[icinga-checkins] icinga.org: icinga2/master: Fix help output for update-links.py

git at icinga.org git at icinga.org
Sun Aug 28 15:11:59 CEST 2016


Module: icinga2
Branch: master
Commit: c8816385e586c30e60d26644e688c2255c1f1c31
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=c8816385e586c30e60d26644e688c2255c1f1c31

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sun Aug 28 15:11:46 2016 +0200

Fix help output for update-links.py

fixes #12577

---

 doc/update-links.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/update-links.py b/doc/update-links.py
index 93163b4..21d73df 100755
--- a/doc/update-links.py
+++ b/doc/update-links.py
@@ -21,7 +21,7 @@ import sys
 import re
 
 if len(sys.argv) < 2:
-    print "Syntax: %s <md-files>"
+    print "Syntax: %s <md-files>" % sys.argv[0]
     print ""
     print "Updates inter-chapter links in the specified Markdown files."
     sys.exit(1)



More information about the icinga-checkins mailing list