Differences

This shows you the differences between the selected revisions of the page.

2011-08-16 2011-09-02
scriptcommand_* (martin) elaborate on option abort values (martin)
Line 281: Line 281:
Options are: Options are:
^ Option          ^ Values and description ^ ^ Option          ^ Values and description ^
-| ''echo''        | ''%%on|off%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all | +| ''echo''        | ''%%off|on%%'' \\ Toggles echoing of command being executed. \\ Commands affected: all | 
-| ''batch''      | ''%%on|off|abort|continue%%'' \\ Toggles batch mode (all prompts are automatically replied negatively). When ''on'', it is recommended to set ''confirm'' to ''off'' to allow overwrites. With ''abort'' script is aborted when any error occurs. With ''continue'' all errors are ignored. \\ Commands affected: nearly all | +| ''batch''      | ''%%off|on|abort|continue%%'' \\ Enables batch mode. In batch mode, all choice prompts are automatically replied and all input prompts are cancelled (after short time interval). \\ In batch mode, it is recommended to set ''confirm'' to ''off'' to allow overwrites. \\ When set to ''on'' all choice prompts are automatically replied negatively. \\ Value ''abort'' is like ''on''. In addition the script is aborted, when any script command fails or any choice prompt is replied with "Abort" answer (or similar). \\ When set to ''continue'' choice prompts are automatically replied with "Skip", "Ignore" or similar answer. \\ Commands affected: nearly all | 
-| ''confirm''    | ''%%on|off%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' |+| ''confirm''    | ''%%off|on%%'' \\ Toggles confirmations (overwrite, etc.). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' |
| ''transfer''    | ''%%binary|ascii|automatic%%'' \\ [[transfer_mode|Transfer mode]]: binary, ascii (text), automatic (by extension). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' | | ''transfer''    | ''%%binary|ascii|automatic%%'' \\ [[transfer_mode|Transfer mode]]: binary, ascii (text), automatic (by extension). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |
| ''exclude'' \\ ''include''    | ''%%clear | <mask>[;<mask2>...]%%'' \\ Sets [[ui_transfer#other_options|exclusion or inclusion]] [[file_mask|masks]] (only one can be set at time). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' | | ''exclude'' \\ ''include''    | ''%%clear | <mask>[;<mask2>...]%%'' \\ Sets [[ui_transfer#other_options|exclusion or inclusion]] [[file_mask|masks]] (only one can be set at time). \\ Commands affected: ''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'', ''[[scriptcommand_synchronize|synchronize]]'', ''[[scriptcommand_keepuptodate|keepuptodate]]'' |