mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-08 08:58:00 +00:00
Document -logoverwrite and -logappend.
This commit is contained in:
parent
12d483a148
commit
2ebd4ea36a
@ -267,6 +267,16 @@ an effort is made to suppress obvious passwords.)
|
||||
encrypted packet data.
|
||||
}
|
||||
|
||||
\dt \cw{\-logoverwrite}
|
||||
|
||||
\dd If Plink is configured to write to a log file that already exists,
|
||||
discard the existing file.
|
||||
|
||||
\dt \cw{\-logappend}
|
||||
|
||||
\dd If Plink is configured to write to a log file that already exists,
|
||||
append new log data to the existing file.
|
||||
|
||||
\dt \cw{\-shareexists}
|
||||
|
||||
\dd Instead of making a new connection, test for the presence of an
|
||||
|
@ -176,6 +176,16 @@ to suppress obvious passwords.)
|
||||
encrypted packet data.
|
||||
}
|
||||
|
||||
\dt \cw{\-logoverwrite}
|
||||
|
||||
\dd If PSCP is configured to write to a log file that already exists,
|
||||
discard the existing file.
|
||||
|
||||
\dt \cw{\-logappend}
|
||||
|
||||
\dd If PSCP is configured to write to a log file that already exists,
|
||||
append new log data to the existing file.
|
||||
|
||||
\S{pscp-manpage-more-information} MORE INFORMATION
|
||||
|
||||
For more information on \cw{pscp} it's probably best to go and look at
|
||||
|
@ -156,6 +156,16 @@ to suppress obvious passwords.)
|
||||
encrypted packet data.
|
||||
}
|
||||
|
||||
\dt \cw{\-logoverwrite}
|
||||
|
||||
\dd If PSFTP is configured to write to a log file that already exists,
|
||||
discard the existing file.
|
||||
|
||||
\dt \cw{\-logappend}
|
||||
|
||||
\dd If PSFTP is configured to write to a log file that already exists,
|
||||
append new log data to the existing file.
|
||||
|
||||
\S{psftp-manpage-commands} COMMANDS
|
||||
|
||||
For a list of commands available inside \cw{psftp}, type \cw{help}
|
||||
|
@ -128,6 +128,16 @@ an effort is made to suppress obvious passwords.)
|
||||
encrypted packet data.
|
||||
}
|
||||
|
||||
\dt \cw{\-logoverwrite}
|
||||
|
||||
\dd If \cw{putty} is configured to write to a log file that already exists,
|
||||
discard the existing file.
|
||||
|
||||
\dt \cw{\-logappend}
|
||||
|
||||
\dd If \cw{putty} is configured to write to a log file that already exists,
|
||||
append new log data to the existing file.
|
||||
|
||||
\dt \cw{\-cs} \e{charset}
|
||||
|
||||
\dd This option specifies the character set in which \cw{putty}
|
||||
|
@ -90,6 +90,9 @@ use Plink:
|
||||
\c -sshlog file
|
||||
\c -sshrawlog file
|
||||
\c log protocol details to a file
|
||||
\c -logoverwrite
|
||||
\c -logappend
|
||||
\c control what happens when a log file already exists
|
||||
\c -shareexists
|
||||
\c test whether a connection-sharing upstream exists
|
||||
|
||||
|
@ -72,6 +72,9 @@ use PSCP:
|
||||
\c -sshlog file
|
||||
\c -sshrawlog file
|
||||
\c log protocol details to a file
|
||||
\c -logoverwrite
|
||||
\c -logappend
|
||||
\c control what happens when a log file already exists
|
||||
|
||||
(PSCP's interface is much like the Unix \c{scp} command, if you're
|
||||
familiar with that.)
|
||||
|
@ -1025,7 +1025,7 @@ For example, \cq{-sercfg 19200,8,n,1,N} denotes a baud rate of
|
||||
19200, 8 data bits, no parity, 1 stop bit and no flow control.
|
||||
|
||||
\S2{using-cmdline-sshlog} \i\c{-sessionlog}, \i\c{-sshlog},
|
||||
\i\c{-sshrawlog}: specify session logging
|
||||
\i\c{-sshrawlog}: enable session logging
|
||||
|
||||
These options cause the PuTTY network tools to write out a \i{log
|
||||
file}. Each of them expects a file name as an argument, e.g.
|
||||
@ -1041,6 +1041,14 @@ different logging modes, all available from the GUI too:
|
||||
|
||||
For more information on logging configuration, see \k{config-logging}.
|
||||
|
||||
\S2{using-cmdline-logfileexists} \i\c{-logoverwrite}, \i\c{-logappend}:
|
||||
control behaviour with existing log file
|
||||
|
||||
If logging has been enabled (in the saved configuration, or by another
|
||||
command-line option), and the specified log file already exists, these
|
||||
options tell the PuTTY network tools what to do so that they don't
|
||||
have to ask the user. See \k{config-logfileexists} for details.
|
||||
|
||||
\S2{using-cmdline-proxycmd} \i\c{-proxycmd}: specify a local proxy
|
||||
command
|
||||
|
||||
|
3
pscp.c
3
pscp.c
@ -2214,6 +2214,9 @@ static void usage(void)
|
||||
printf(" -sshlog file\n");
|
||||
printf(" -sshrawlog file\n");
|
||||
printf(" log protocol details to a file\n");
|
||||
printf(" -logoverwrite\n");
|
||||
printf(" -logappend\n");
|
||||
printf(" control what happens when a log file already exists\n");
|
||||
cleanup_exit(1);
|
||||
}
|
||||
|
||||
|
3
psftp.c
3
psftp.c
@ -2546,6 +2546,9 @@ static void usage(void)
|
||||
printf(" -sshlog file\n");
|
||||
printf(" -sshrawlog file\n");
|
||||
printf(" log protocol details to a file\n");
|
||||
printf(" -logoverwrite\n");
|
||||
printf(" -logappend\n");
|
||||
printf(" control what happens when a log file already exists\n");
|
||||
cleanup_exit(1);
|
||||
}
|
||||
|
||||
|
@ -543,6 +543,9 @@ static void usage(void)
|
||||
printf(" -sshlog file\n");
|
||||
printf(" -sshrawlog file\n");
|
||||
printf(" log protocol details to a file\n");
|
||||
printf(" -logoverwrite\n");
|
||||
printf(" -logappend\n");
|
||||
printf(" control what happens when a log file already exists\n");
|
||||
printf(" -shareexists\n");
|
||||
printf(" test whether a connection-sharing upstream exists\n");
|
||||
exit(1);
|
||||
|
@ -165,6 +165,9 @@ static void usage(void)
|
||||
printf(" -sshlog file\n");
|
||||
printf(" -sshrawlog file\n");
|
||||
printf(" log protocol details to a file\n");
|
||||
printf(" -logoverwrite\n");
|
||||
printf(" -logappend\n");
|
||||
printf(" control what happens when a log file already exists\n");
|
||||
printf(" -shareexists\n");
|
||||
printf(" test whether a connection-sharing upstream exists\n");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user