[viewvc-dev] [PATCH] Fix --host for standalone.py

"Larry Shatzer, Jr." <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <3fb3af800806191231w297e588bp5d8db096ec24eda6__8711.06066410921$1213903936$gmane$org@mail.gmail.com>
According to the help output, --host should work, but it is not defined as a
valid argument (-h is). This patch fixes that.

Index: bin/standalone.py
===================================================================
--- bin/standalone.py   (revision 1958)
+++ bin/standalone.py   (working copy)
@@ -579,7 +579,7 @@
     try:
         opts, args = getopt.getopt(argv[1:], 'gdc:p:r:h:s:',
             ['gui', 'daemon', 'config-file=', 'port=', 'repository=',
-             'script-alias='])
+             'host=', 'script-alias='])
         for opt, val in opts:
             if opt in ('-g', '--gui'):
                 options.start_gui = 1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.