xml2nroff: Drop duplicated usage().
authorRussell Bryant <russell@ovn.org>
Thu, 10 Dec 2015 19:04:51 +0000 (14:04 -0500)
committerRussell Bryant <russell@ovn.org>
Fri, 11 Dec 2015 17:01:28 +0000 (12:01 -0500)
The usage() function was included twice.  Drop the one that was out of
date.

Signed-off-by: Russell Bryant <russell@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
build-aux/xml2nroff

index 1f8519a..127d4cc 100755 (executable)
@@ -80,18 +80,6 @@ def manpage_to_nroff(xml_file, subst, version=None):
 
     return s
 
-def usage():
-    print """\
-%(argv0)s: converts XML in a somewhat HTML-like format to nroff
-usage: %(argv0)s [OPTIONS] XML
-where XML is documentation in a somewhat HTML-like XML format.
-The manpage, in nroff "man" format, is output on stdout.
-
-The following options are also available:
-  --version=VERSION           use VERSION to display on document footer
-  -h, --help                  display this help message\
-""" % {'argv0': argv0}
-    sys.exit(0)
 
 if __name__ == "__main__":
     try: