The usage() function was included twice.  Drop the one that was out of
date.

Signed-off-by: Russell Bryant <russ...@ovn.org>
---
 build-aux/xml2nroff | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff
index 1f8519a..127d4cc 100755
--- a/build-aux/xml2nroff
+++ b/build-aux/xml2nroff
@@ -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:
-- 
2.5.0

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to