瀏覽代碼

fixup: do not talk about bugs

bugs can always happen, no need to point this out here.
Thomas Waldmann 5 年之前
父節點
當前提交
e39a54cb84
共有 1 個文件被更改,包括 5 次插入9 次删除
  1. 5 9
      src/borg/archiver.py

+ 5 - 9
src/borg/archiver.py

@@ -324,9 +324,8 @@ class Archiver:
         """Check repository consistency"""
         if args.repair:
             msg = ("This is a potentially dangerous function.\n"
-                   "check --repair might lead to data loss (in case of bugs or for kinds of\n"
-                   "corruption it is not capable of dealing with).\n"
-                   "BE VERY CAREFUL!\n"
+                   "check --repair might lead to data loss (for kinds of corruption it is not\n"
+                   "capable of dealing with). BE VERY CAREFUL!\n"
                    "\n"
                    "Type 'YES' if you understand this and want to continue: ")
             if not yes(msg, false_msg="Aborting.", invalid_msg="Invalid answer, aborting.",
@@ -1712,8 +1711,7 @@ class Archiver:
     def do_recreate(self, args, repository, manifest, key, cache):
         """Re-create archives"""
         msg = ("This is a potentially dangerous function.\n"
-               "recreate might lead to data loss (if used wrongly or in case of bugs).\n"
-               "BE VERY CAREFUL!\n"
+               "recreate might lead to data loss (if used wrongly). BE VERY CAREFUL!\n"
                "\n"
                "Type 'YES' if you understand this and want to continue: ")
         if not yes(msg, false_msg="Aborting.", truish=('YES',),
@@ -3054,8 +3052,7 @@ class Archiver:
         The check command verifies the consistency of a repository and the corresponding archives.
 
         check --repair is a potentially dangerous function and might lead to data loss
-        (in case of bugs or for kinds of corruption it is not capable of dealing with).
-        BE VERY CAREFUL!
+        (for kinds of corruption it is not capable of dealing with). BE VERY CAREFUL!
 
         First, the underlying repository data files are checked:
 
@@ -3960,8 +3957,7 @@ class Archiver:
         Recreate the contents of existing archives.
 
         recreate is a potentially dangerous function and might lead to data loss
-        (if used wrongly or in case of bugs).
-        BE VERY CAREFUL!
+        (if used wrongly). BE VERY CAREFUL!
 
         ``--exclude``, ``--exclude-from``, ``--exclude-if-present``, ``--keep-exclude-tags``
         and PATH have the exact same semantics as in "borg create", but they only check