From 5489c56a08a2d2fadb9687a592bf6e2ac51ca5a7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 26 May 2006 12:45:21 +0000 Subject: [PATCH] Make it clearer that `psftp -b' doesn't return to the interactive prompt if the script doesn't end with an explicit `quit'. [originally from svn r6717] --- doc/psftp.but | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/psftp.but b/doc/psftp.but index f6ac2dc1..7cd376de 100644 --- a/doc/psftp.but +++ b/doc/psftp.but @@ -74,7 +74,6 @@ containing lines like this: \c ren jam.tar.gz jam-old.tar.gz \c put jam.tar.gz \c chmod a+r jam.tar.gz -\c quit and then you could run the script by typing @@ -84,6 +83,8 @@ 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 add the \c{-be} option (\k{psftp-option-be}). +PSFTP will terminate after it finishes executing the batch script. + \S{psftp-option-bc} \I{-bc-PSFTP}\c{-bc}: display batch commands as they are run The \c{-bc} option alters what PSFTP displays while processing a