From 78e280a1cd8902271d3c0d82afa2fa6ed3315084 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 2 Oct 2018 18:34:38 +0100 Subject: [PATCH] pscp: remove a relic of GUI feedback mode. GUI feedback mode was last seen in 2006 (removed in commit 33b7caa59), so quite what a conditioned-out piece of online help text for it was doing still around here 12 years later, I have no idea. (Especially since it had been under #if 0 since 2001, and also since then its containing source file had ceased to be Windows-only so it would have been extra-wrong to reinstate it.) --- pscp.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pscp.c b/pscp.c index 70071c29..4cc09a41 100644 --- a/pscp.c +++ b/pscp.c @@ -2257,17 +2257,6 @@ static void usage(void) printf(" -sshlog file\n"); printf(" -sshrawlog file\n"); printf(" log protocol details to a file\n"); -#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 cleanup_exit(1); }