Permalink
Browse files

lftp.1: document 'exit parent' subcommand.

  • Loading branch information...
1 parent 7257e5d commit 24ae77d839c15cee89c09cfaf1ba9b2ca5c1785a @lavv17 committed Mar 4, 2014
Showing with 8 additions and 1 deletion.
  1. +4 −0 doc/ChangeLog
  2. +4 −1 doc/lftp.1
View
@@ -1,3 +1,7 @@
+2014-03-04 Alexander V. Lukyanov <lavv17f@gmail.com>
+
+ * lftp.1: document 'exit parent' subcommand.
+
2014-01-24 Alexander V. Lukyanov <lavv17f@gmail.com>
* lftp.1: (pget:min-chunk-size) new setting.
View
@@ -243,7 +243,9 @@ without -f it just executes given arguments as a command. With -f, arguments
are transformed into a new command. The format can contain plain text and
placeholders $0...$9 and $@, corresponding to the arguments.
-.BR exit " [" bg "] [" top "]"
+.BR exit " [" bg "]"
+.RB [ top ]
+.RB [ parent ]
.RB [ kill ]
.RI [ code ]
.PP
@@ -254,6 +256,7 @@ command is used.
.PP
`exit bg' forces moving to background when cmd:move-background is false.
`exit top' makes top level `shell' (internal lftp command executor) terminate.
+`exit parent' terminates the parent shell when running a nested script.
`exit kill' kills all numbered jobs before exiting. The options can be combined, e.g.
`at 08:00 \-\- exit top kill &' kills all jobs and makes lftp exit at specified time.

0 comments on commit 24ae77d

Please sign in to comment.