summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-07-23 20:07:04 +0300
committerAlon Levy <alevy@redhat.com>2011-07-23 20:07:04 +0300
commitf637c79f121348b02b0fdae7613675acda380815 (patch)
treeb008528ab1e0607a1aead7e0fbc535e0490d97cc
parentdd90fa9277283b4806aba307ca952bea0402b534 (diff)
xspice: add missing --tls-port default
-rwxr-xr-xscripts/xspice2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xspice b/scripts/xspice
index f411619..3c6b49a 100755
--- a/scripts/xspice
+++ b/scripts/xspice
@@ -45,7 +45,7 @@ parser.add_argument('--config', default='spiceqxl.xorg.conf')
# Don't use any options that are already used by Xorg (unless we must)
# specifically, don't use -p and -s.
parser.add_argument('--port', type=int, help='standard spice port')
-parser.add_argument('--tls-port', type=int, help='spice tls port')
+parser.add_argument('--tls-port', type=int, help='spice tls port', default=0)
add_boolean('--disable-ticketing', help="do not require a client password")
add_boolean('--sasl', help="enable sasl")
parser.add_argument('--x509-dir', help="x509 directory for tls", default='.')