From: jacob Date: Thu, 6 Jan 2005 12:37:33 +0000 (+0000) Subject: Try to make it clearer that "-be" and "-bc" must be specified in _addition_ X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/f45c22d6960066b9468bcee077b4f6be7be50b16 Try to make it clearer that "-be" and "-bc" must be specified in _addition_ to "-b batchfile". git-svn-id: svn://svn.tartarus.org/sgt/putty@5067 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/doc/psftp.but b/doc/psftp.but index 45980224..f0bf08e1 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -82,15 +82,16 @@ and then you could run the script by typing When you run a batch script in this way, PSFTP will abort the script if any command fails to complete successfully. To change this -behaviour, you can use the \c{-be} option (\k{psftp-option-be}). +behaviour, you can add the \c{-be} option (\k{psftp-option-be}). \S{psftp-option-bc} \c{-bc}: display batch commands as they are run The \c{-bc} option alters what PSFTP displays while processing a -batch script. With the \c{-bc} option, PSFTP will display prompts -and commands just as if the commands had been typed at the keyboard. -So instead of seeing this: +batch script specified with \c{-b}. With the \c{-bc} option, PSFTP +will display prompts and commands just as if the commands had been +typed at the keyboard. So instead of seeing this: +\c C:\>psftp fred@hostname -b batchfile \c Sent username "fred" \c Remote working directory is /home/fred \c Listing directory /home/fred/lib @@ -102,6 +103,7 @@ So instead of seeing this: you might see this: +\c C:\>psftp fred@hostname -bc -b batchfile \c Sent username "fred" \c Remote working directory is /home/fred \c psftp> dir lib @@ -115,8 +117,8 @@ you might see this: \S{psftp-option-be} \c{-be}: continue batch processing on errors -When running a batch file, this option causes PSFTP to continue -processing even if a command fails to complete successfully. +When running a batch file, this additional option causes PSFTP to +continue processing even if a command fails to complete successfully. You might want this to happen if you wanted to delete a file and didn't care if it was already not present, for example.