Mercurial > hg > Applications > TreeVNC
diff src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java @ 75:bbee0f101911
donot forget commit before you leave. options are modified
author | kono |
---|---|
date | Tue, 29 Apr 2014 11:26:36 +0900 |
parents | f1938dd3b518 |
children | cdf7bbe45885 |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Mon Apr 28 18:25:23 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Tue Apr 29 11:26:36 2014 +0900 @@ -39,7 +39,7 @@ // use this on main display such as large tv. treeProxy = true; viewer = true; - } else if ("-v".equals(args[i])) { + } else if ("-v".equals(args[i]) || "-c".equals(args[i])) { // behave as client. // open display and connect to some tree node. viewer = true; @@ -62,13 +62,14 @@ hostName = args[++i]; } else { System.out.println("(default) TreeVNCClient\n" - + "-p: TreeVNCProxy\n" - + "-v: VNCViewer\n" - + "-r: TreeVNCProxy for RemoteHost. you should input parameter host and port\n" - + "--host hostname: set host name\n" - + "--retina: TreeVNC proxy for retina.this mode can select screen range." - + "--width w: set display width" - + "--height h: set display height"); + + "-v or -c: View shared screen.\n" + + "-p: Share my screen and behave as tree root.\n" + + "-d: Show shared screen and behave as tree root.\n" + + "-r: Connect to fix to specified host and port.\n" + + "--host hostname: Set host name.\n" + + "--retina: Limit screen size for very large display.\n" + + "--width w: Set display width.\n" + + "--height h: Set display height.\n"); } } }