Explorar o código

update prune docs, -P is gone, -a replaces it

Thomas Waldmann %!s(int64=3) %!d(string=hai) anos
pai
achega
732ecb29fe
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/borg/archiver/prune_cmd.py

+ 4 - 3
src/borg/archiver/prune_cmd.py

@@ -193,16 +193,17 @@ class PruneMixIn:
         archive (and thus still needed). Checkpoint archives are not considered when
         archive (and thus still needed). Checkpoint archives are not considered when
         comparing archive counts against the retention limits (``--keep-X``).
         comparing archive counts against the retention limits (``--keep-X``).
 
 
-        If a prefix is set with -P, then only archives that start with the prefix are
+        If you use --glob-archives (-a), then only archives that match the GLOB are
         considered for deletion and only those archives count towards the totals
         considered for deletion and only those archives count towards the totals
         specified by the rules.
         specified by the rules.
         Otherwise, *all* archives in the repository are candidates for deletion!
         Otherwise, *all* archives in the repository are candidates for deletion!
         There is no automatic distinction between archives representing different
         There is no automatic distinction between archives representing different
-        contents. These need to be distinguished by specifying matching prefixes.
+        contents. These need to be distinguished by specifying matching globs.
 
 
         If you have multiple sequences of archives with different data sets (e.g.
         If you have multiple sequences of archives with different data sets (e.g.
         from different machines) in one shared repository, use one prune call per
         from different machines) in one shared repository, use one prune call per
-        data set that matches only the respective archives using the -P option.
+        data set that matches only the respective archives using the --glob-archives
+        (-a) option.
 
 
         The ``--keep-within`` option takes an argument of the form "<int><char>",
         The ``--keep-within`` option takes an argument of the form "<int><char>",
         where char is "H", "d", "w", "m", "y". For example, ``--keep-within 2d`` means
         where char is "H", "d", "w", "m", "y". For example, ``--keep-within 2d`` means