Removed unnecessary "usage" prefix from mako-render script. Pull request courtesy Hugo. (cherry picked from commit 7e6a1d7822bac275aabb3c1cc90cb67612548127) Change-Id: I84a302c982f18762d2514c3f840331d1eb3ebcda
diff --git a/doc/build/changelog.rst b/doc/build/changelog.rst index bb592c9..46e9e98 100644 --- a/doc/build/changelog.rst +++ b/doc/build/changelog.rst
@@ -15,6 +15,12 @@ Added ``--output-encoding`` flag to the mako-render script. Pull request courtesy lacsaP. + .. change:: + :tags: bug + + Removed unnecessary "usage" prefix from mako-render script. + Pull request courtesy Hugo. + .. changelog:: :version: 1.0.7 :released: Thu Jul 13 2017
diff --git a/mako/cmd.py b/mako/cmd.py index 609b4c9..ff738c4 100755 --- a/mako/cmd.py +++ b/mako/cmd.py
@@ -24,7 +24,7 @@ def cmdline(argv=None): - parser = ArgumentParser("usage: %prog [FILENAME]") + parser = ArgumentParser() parser.add_argument( "--var", default=[], action="append", help="variable (can be used multiple times, use name=value)")