Remove -gui from the command-line help in pscp, because it's an
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Jan 2001 15:51:41 +0000 (15:51 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Jan 2001 15:51:41 +0000 (15:51 +0000)
internal option only.

git-svn-id: svn://svn.tartarus.org/sgt/putty@903 cda61777-01e9-0310-a592-d414129be87e

scp.c

diff --git a/scp.c b/scp.c
index c53e6b6..fcd5e1a 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -1199,8 +1199,16 @@ static void usage(void)
     printf("  -v        show verbose messages\n");
     printf("  -P port   connect to specified port\n");
     printf("  -pw passw login with specified password\n");
-    /* GUI Adaptation - Sept 2000 */
+#if 0
+    /*
+     * -gui is an internal option, used by GUI front ends to get
+     * pscp to pass progress reports back to them. It's not an
+     * ordinary user-accessible option, so it shouldn't be part of
+     * the command-line help. The only people who need to know
+     * about it are programmers, and they can read the source.
+     */
     printf("  -gui hWnd GUI mode with the windows handle for receiving messages\n");
+#endif
     exit(1);
 }