Quellcode durchsuchen

Remove references to removed long-deprecated options (#394).

Dan Helfman vor 3 Jahren
Ursprung
Commit
4498671233
2 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 5 5
      borgmatic/config/schema.yaml
  2. 1 1
      scripts/find-unsupported-borg-options

+ 5 - 5
borgmatic/config/schema.yaml

@@ -347,27 +347,27 @@ properties:
                         type: string
                         type: string
                         description: |
                         description: |
                           Extra command-line options to pass to "borg init".
                           Extra command-line options to pass to "borg init".
-                        example: "--make-parent-dirs"
+                        example: "--extra-option"
                     prune:
                     prune:
                         type: string
                         type: string
                         description: |
                         description: |
                           Extra command-line options to pass to "borg prune".
                           Extra command-line options to pass to "borg prune".
-                        example: "--save-space"
+                        example: "--extra-option"
                     compact:
                     compact:
                         type: string
                         type: string
                         description: |
                         description: |
                           Extra command-line options to pass to "borg compact".
                           Extra command-line options to pass to "borg compact".
-                        example: "--save-space"
+                        example: "--extra-option"
                     create:
                     create:
                         type: string
                         type: string
                         description: |
                         description: |
                           Extra command-line options to pass to "borg create".
                           Extra command-line options to pass to "borg create".
-                        example: "--no-files-cache"
+                        example: "--extra-option"
                     check:
                     check:
                         type: string
                         type: string
                         description: |
                         description: |
                           Extra command-line options to pass to "borg check".
                           Extra command-line options to pass to "borg check".
-                        example: "--save-space"
+                        example: "--extra-option"
                 description: |
                 description: |
                     Additional options to pass directly to particular Borg
                     Additional options to pass directly to particular Borg
                     commands, handy for Borg options that borgmatic does not yet
                     commands, handy for Borg options that borgmatic does not yet

+ 1 - 1
scripts/find-unsupported-borg-options

@@ -54,7 +54,7 @@ for sub_command in prune create check list info; do
             | grep -v '^--format' \
             | grep -v '^--format' \
             | grep -v '^--glob-archives' \
             | grep -v '^--glob-archives' \
             | grep -v '^--last' \
             | grep -v '^--last' \
-            | grep -v '^--list-format' \
+            | grep -v '^--format' \
             | grep -v '^--patterns-from' \
             | grep -v '^--patterns-from' \
             | grep -v '^--prefix' \
             | grep -v '^--prefix' \
             | grep -v '^--short' \
             | grep -v '^--short' \