diff options
-rw-r--r-- | vncviewer/vncviewer.cxx | 15 | ||||
-rw-r--r-- | vncviewer/vncviewer.man | 6 |
2 files changed, 17 insertions, 4 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index f076565f..8d795109 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -348,10 +348,19 @@ static void usage(const char *programName) #endif fprintf(stderr, - "\nusage: %s [parameters] [host:displayNum] [parameters]\n" - " %s [parameters] -listen [port] [parameters]\n" + "\n" + "usage: %s [parameters] [host][:displayNum]\n" + " %s [parameters] [host][::port]\n" +#ifndef WIN32 + " %s [parameters] [unix socket]\n" +#endif + " %s [parameters] -listen [port]\n" " %s [parameters] [.tigervnc file]\n", - programName, programName, programName); + programName, programName, +#ifndef WIN32 + programName, +#endif + programName, programName); fprintf(stderr,"\n" "Parameters can be turned on with -<param> or off with -<param>=0\n" "Parameters which take a value can be specified as " diff --git a/vncviewer/vncviewer.man b/vncviewer/vncviewer.man index 729c01d6..421290f8 100644 --- a/vncviewer/vncviewer.man +++ b/vncviewer/vncviewer.man @@ -11,13 +11,17 @@ vncviewer \- VNC viewer for X .RI [ host ][:: port ] .br .B vncviewer +.RI [ options ] +.RI [ unix\ socket ] +.br +.B vncviewer .RI [ options ] .B \-listen .RI [ port ] .br .B vncviewer .RI [ options ] -.RI [ .tigervnc file ] +.RI [ .tigervnc\ file ] .SH DESCRIPTION .B vncviewer is a viewer (client) for Virtual Network Computing. This manual page documents |