Browse Source

fix typo: allows to -> allows one to

Gianfranco Costamagna 7 years ago
parent
commit
111a19f7fa

+ 1 - 1
docs/changes.rst

@@ -1493,7 +1493,7 @@ Bug fixes:
 - borg delete:
 - borg delete:
 
 
   - make it possible to delete a repo without manifest
   - make it possible to delete a repo without manifest
-  - borg delete --forced allows to delete corrupted archives, #1139
+  - borg delete --forced allows one to delete corrupted archives, #1139
 - borg check:
 - borg check:
 
 
   - make borg check work for empty repo
   - make borg check work for empty repo

+ 2 - 2
docs/internals/data-structures.rst

@@ -374,7 +374,7 @@ needs to be handled.
 
 
 Lastly, cache_ invalidation is handled by noting which feature
 Lastly, cache_ invalidation is handled by noting which feature
 flags were and which were not understood while manipulating a cache.
 flags were and which were not understood while manipulating a cache.
-This allows to detect whether the cache needs to be invalidated,
+This allows one to detect whether the cache needs to be invalidated,
 i.e. rebuilt from scratch. See `Cache feature flags`_ below.
 i.e. rebuilt from scratch. See `Cache feature flags`_ below.
 
 
 The *config* key stores the feature flags enabled on a repository:
 The *config* key stores the feature flags enabled on a repository:
@@ -1022,7 +1022,7 @@ Before feeding the checksum algorithm any data, the file name (i.e. without any
 is mixed into the checksum, since the name encodes the context of the data for Borg.
 is mixed into the checksum, since the name encodes the context of the data for Borg.
 
 
 The various indices used by Borg have separate header and main data parts.
 The various indices used by Borg have separate header and main data parts.
-IntegrityCheckedFile allows to checksum them independently, which avoids
+IntegrityCheckedFile allows one to checksum them independently, which avoids
 even reading the data when the header is corrupted. When a part is signalled,
 even reading the data when the header is corrupted. When a part is signalled,
 the length of the part name is mixed into the checksum state first (encoded
 the length of the part name is mixed into the checksum state first (encoded
 as an ASCII string via `%10d` printf format), then the name of the part
 as an ASCII string via `%10d` printf format), then the name of the part

+ 1 - 1
docs/man/borg-key-export.1

@@ -36,7 +36,7 @@ borg [common options] key export [options] [REPOSITORY] [PATH]
 .SH DESCRIPTION
 .SH DESCRIPTION
 .sp
 .sp
 If repository encryption is used, the repository is inaccessible
 If repository encryption is used, the repository is inaccessible
-without the key. This command allows to backup this essential key.
+without the key. This command allows one to backup this essential key.
 Note that the backup produced does not include the passphrase itself
 Note that the backup produced does not include the passphrase itself
 (i.e. the exported key stays encrypted). In order to regain access to a
 (i.e. the exported key stays encrypted). In order to regain access to a
 repository, one needs both the exported key and the original passphrase.
 repository, one needs both the exported key and the original passphrase.

+ 1 - 1
docs/man/borg-key-import.1

@@ -35,7 +35,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
 borg [common options] key import [options] [REPOSITORY] [PATH]
 borg [common options] key import [options] [REPOSITORY] [PATH]
 .SH DESCRIPTION
 .SH DESCRIPTION
 .sp
 .sp
-This command allows to restore a key previously backed up with the
+This command allows one to restore a key previously backed up with the
 export command.
 export command.
 .sp
 .sp
 If the \fB\-\-paper\fP option is given, the import will be an interactive
 If the \fB\-\-paper\fP option is given, the import will be an interactive

+ 1 - 1
docs/man/borg-recreate.1

@@ -46,7 +46,7 @@ resulting archive will only contain files from these PATHs.
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 will \fInot\fP match (\fB\-\-exclude\fP, \fB\-\-exclude\-from\fP, PATHs).
 will \fInot\fP match (\fB\-\-exclude\fP, \fB\-\-exclude\-from\fP, PATHs).
 .sp
 .sp
-\fB\-\-recompress\fP allows to change the compression of existing data in archives.
+\fB\-\-recompress\fP allows one to change the compression of existing data in archives.
 Due to how Borg stores compressed size information this might display
 Due to how Borg stores compressed size information this might display
 incorrect information for archives that were not recreated at the same time.
 incorrect information for archives that were not recreated at the same time.
 There is no risk of data loss by this.
 There is no risk of data loss by this.

+ 1 - 1
docs/usage/key_export.rst.inc

@@ -58,7 +58,7 @@ Description
 ~~~~~~~~~~~
 ~~~~~~~~~~~
 
 
 If repository encryption is used, the repository is inaccessible
 If repository encryption is used, the repository is inaccessible
-without the key. This command allows to backup this essential key.
+without the key. This command allows one to backup this essential key.
 Note that the backup produced does not include the passphrase itself
 Note that the backup produced does not include the passphrase itself
 (i.e. the exported key stays encrypted). In order to regain access to a
 (i.e. the exported key stays encrypted). In order to regain access to a
 repository, one needs both the exported key and the original passphrase.
 repository, one needs both the exported key and the original passphrase.

+ 1 - 1
docs/usage/key_import.rst.inc

@@ -54,7 +54,7 @@ borg key import
 Description
 Description
 ~~~~~~~~~~~
 ~~~~~~~~~~~
 
 
-This command allows to restore a key previously backed up with the
+This command allows one to restore a key previously backed up with the
 export command.
 export command.
 
 
 If the ``--paper`` option is given, the import will be an interactive
 If the ``--paper`` option is given, the import will be an interactive

+ 1 - 1
docs/usage/recreate.rst.inc

@@ -126,7 +126,7 @@ resulting archive will only contain files from these PATHs.
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 Note that all paths in an archive are relative, therefore absolute patterns/paths
 will *not* match (``--exclude``, ``--exclude-from``, PATHs).
 will *not* match (``--exclude``, ``--exclude-from``, PATHs).
 
 
-``--recompress`` allows to change the compression of existing data in archives.
+``--recompress`` allows one to change the compression of existing data in archives.
 Due to how Borg stores compressed size information this might display
 Due to how Borg stores compressed size information this might display
 incorrect information for archives that were not recreated at the same time.
 incorrect information for archives that were not recreated at the same time.
 There is no risk of data loss by this.
 There is no risk of data loss by this.

+ 1 - 1
scripts/borg.exe.spec

@@ -43,7 +43,7 @@ exe = EXE(pyz,
 
 
 if False:
 if False:
     # Enable this block to build a directory-based binary instead of
     # Enable this block to build a directory-based binary instead of
-    # a packed single file. This allows to easily look at all included
+    # a packed single file. This allows one to easily look at all included
     # files (e.g. without having to strace or halt the built binary
     # files (e.g. without having to strace or halt the built binary
     # and introspect /tmp).
     # and introspect /tmp).
     coll = COLLECT(exe,
     coll = COLLECT(exe,

+ 4 - 4
src/borg/archiver.py

@@ -2070,7 +2070,7 @@ class Archiver:
         then, after parsing the command line, multiple definitions are resolved.
         then, after parsing the command line, multiple definitions are resolved.
 
 
         Defaults are handled by only setting them on the top-level parser and setting
         Defaults are handled by only setting them on the top-level parser and setting
-        a sentinel object in all sub-parsers, which then allows to discern which parser
+        a sentinel object in all sub-parsers, which then allows one to discern which parser
         supplied the option.
         supplied the option.
         """
         """
 
 
@@ -2613,7 +2613,7 @@ class Archiver:
 
 
         key_export_epilog = process_epilog("""
         key_export_epilog = process_epilog("""
         If repository encryption is used, the repository is inaccessible
         If repository encryption is used, the repository is inaccessible
-        without the key. This command allows to backup this essential key.
+        without the key. This command allows one to backup this essential key.
         Note that the backup produced does not include the passphrase itself
         Note that the backup produced does not include the passphrase itself
         (i.e. the exported key stays encrypted). In order to regain access to a
         (i.e. the exported key stays encrypted). In order to regain access to a
         repository, one needs both the exported key and the original passphrase.
         repository, one needs both the exported key and the original passphrase.
@@ -2650,7 +2650,7 @@ class Archiver:
                                help='Create an html file suitable for printing and later type-in or qr scan')
                                help='Create an html file suitable for printing and later type-in or qr scan')
 
 
         key_import_epilog = process_epilog("""
         key_import_epilog = process_epilog("""
-        This command allows to restore a key previously backed up with the
+        This command allows one to restore a key previously backed up with the
         export command.
         export command.
 
 
         If the ``--paper`` option is given, the import will be an interactive
         If the ``--paper`` option is given, the import will be an interactive
@@ -3425,7 +3425,7 @@ class Archiver:
         Note that all paths in an archive are relative, therefore absolute patterns/paths
         Note that all paths in an archive are relative, therefore absolute patterns/paths
         will *not* match (``--exclude``, ``--exclude-from``, PATHs).
         will *not* match (``--exclude``, ``--exclude-from``, PATHs).
 
 
-        ``--recompress`` allows to change the compression of existing data in archives.
+        ``--recompress`` allows one to change the compression of existing data in archives.
         Due to how Borg stores compressed size information this might display
         Due to how Borg stores compressed size information this might display
         incorrect information for archives that were not recreated at the same time.
         incorrect information for archives that were not recreated at the same time.
         There is no risk of data loss by this.
         There is no risk of data loss by this.