Mercurial > hg > Applications > TreeVNC
changeset 271:13a809ce1212
add option comment.
author | oc |
---|---|
date | Thu, 11 Dec 2014 18:15:02 +0900 |
parents | 2d934eee4f4b |
children | d3a921d16121 |
files | src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java |
diffstat | 1 files changed, 18 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Tue Dec 09 12:48:21 2014 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java Thu Dec 11 18:15:02 2014 +0900 @@ -134,11 +134,14 @@ try { this.logFileName = args[++i]; } catch (ArrayIndexOutOfBoundsException e) { + // not input file name. System.out.println("Please put the log file name. If you do not put file name, set file name logFile.txt"); } if (logFileName == null) { logFileName = "logFile"; } else if ("-".equals(logFileName.substring(0,1))) { + // not input file name. + // to continue to add option. System.out.println("Please put the log file name. If you do not put file name, set file name logFile.txt"); logFileName = "logFile"; i++; @@ -147,18 +150,21 @@ } } else { System.out.println("(default) TreeVNCClient\n" - + "-v or -c: View shared screen.\n" - + "-p: (proxy) Share my screen and behave as tree root.\n" - + "-ns --noScreenChange Viewers cannot change screen to thiers (default permite screen change)" - + "-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" - + "--showTree: Show connected tree node.\n" - + "--checkDelay: Check speed flow of data each node.\n" - + "--addSerialNum: Check lost data.\n"); + + "-v or -c: View shared screen.\n" + + "-p: (proxy) Share my screen and behave as tree root.\n" + + "-ns --noScreenChange: Viewers cannot change screen to thiers (default permite screen change)\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" + + "--showTree: Show connected tree node.\n" + + "--checkDelay: Check speed flow of data each node.\n" + + "--logFile logFileName: Set log file name.\n" + + "--filterSingleDisplay: Share single display (case of use multi display).\n" + + "--fixingSize w h: Fix share screen size.\n" + + "--addSerialNum: Check lost data.\n"); } } }