summaryrefslogtreecommitdiffstats
path: root/src/remote-viewer-main.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-14 22:30:12 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-08-14 22:30:12 +0200
commitb8d114ef1dbf9b3c81ffd91d8497dd406ac61e26 (patch)
tree2bdc49cf814b8329a8ddb392ff16b09cb7a01a3c /src/remote-viewer-main.c
parent692129ab4414a73ceafbcff33b92752fa63109d7 (diff)
downloadvirt-viewer-b8d114ef1dbf9b3c81ffd91d8497dd406ac61e26.tar.gz
virt-viewer-b8d114ef1dbf9b3c81ffd91d8497dd406ac61e26.tar.xz
virt-viewer-b8d114ef1dbf9b3c81ffd91d8497dd406ac61e26.zip
remote-viewer: remove -d direct option
remote-viewer currently doesn't provide automatic ssh tunnels, and even if it would, that would be explicit in the url given to remote-viewer (such as spice+ssh://...) https://bugzilla.redhat.com/show_bug.cgi?id=991261
Diffstat (limited to 'src/remote-viewer-main.c')
-rw-r--r--src/remote-viewer-main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c
index 820a676..19e5197 100644
--- a/src/remote-viewer-main.c
+++ b/src/remote-viewer-main.c
@@ -112,7 +112,6 @@ main(int argc, char **argv)
char *hotkeys = NULL;
gboolean verbose = FALSE;
gboolean debug = FALSE;
- gboolean direct = FALSE;
RemoteViewer *viewer = NULL;
#ifdef HAVE_SPICE_GTK
gboolean controller = FALSE;
@@ -125,8 +124,6 @@ main(int argc, char **argv)
N_("Display verbose information"), NULL },
{ "title", 't', 0, G_OPTION_ARG_STRING, &title,
N_("Set window title"), NULL },
- { "direct", 'd', 0, G_OPTION_ARG_NONE, &direct,
- N_("Direct connection with no automatic tunnels"), NULL },
{ "zoom", 'z', 0, G_OPTION_ARG_INT, &zoom,
N_("Zoom level of window, in percentage"), "ZOOM" },
{ "debug", '\0', 0, G_OPTION_ARG_NONE, &debug,
@@ -213,7 +210,6 @@ main(int argc, char **argv)
g_object_set(app, "fullscreen-auto-conf", fullscreen_auto_conf, NULL);
g_object_set(app, "fullscreen", fullscreen, NULL);
virt_viewer_window_set_zoom_level(virt_viewer_app_get_main_window(app), zoom);
- virt_viewer_app_set_direct(app, direct);
virt_viewer_app_set_hotkeys(app, hotkeys);
if (!virt_viewer_app_start(app))