From b45c7c5f1fc564dbd2d7b12a7931be12faa6480e Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sat, 16 Jul 2022 10:47:36 -0700 Subject: [PATCH] update docs --- bin/perltidy | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bin/perltidy b/bin/perltidy index 5c5649aa..a3e4c54c 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -283,6 +283,19 @@ Here are some examples: <-bext='/backup'> F<.backup> Delete if no errors <-bext='original/'> F<.original> Delete if no errors +=item B<-bm=s>, B<--backup-method=s> + +This parameter should not normally be used but is available in the event that +problems arise as a transition is made from an older implementation of the +backup logic to a newer implementation. The newer implementation is the +default and is specified with B<-bm='copy'>. The older implementation is +specified with B<-bm='move'>. The difference is that the older implementation +made the backup by moving the input file to the backup file, and the newer +implementation makes the backup by copying the input file. The newer +implemenation preserves the file system B value. This may avoid +problems with other software running simultaneously. This change was made +as part of issue B at github. + =item B<-w>, B<--warning-output> Setting B<-w> causes any non-critical warning -- 2.39.5