1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Remove -gui from the command-line help in pscp, because it's an

internal option only.

[originally from svn r903]
This commit is contained in:
Simon Tatham 2001-01-27 15:51:41 +00:00
parent 65b47c59c6
commit 1de4d29392

10
scp.c
View File

@ -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);
}