fix phrasings in "in place" refactoring

This commit is contained in:
Antoine Beaupré 2015-10-17 22:04:00 -04:00
parent 8c48015e70
commit 319fcbacc5
2 changed files with 4 additions and 4 deletions

View File

@ -925,7 +925,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
backup copy.
WARNING: running the upgrade in place will make the current
copy unuseable with older version, with no way of going back
copy unusable with older version, with no way of going back
to previous versions. this can PERMANENTLY DAMAGE YOUR
REPOSITORY! Attic CAN NOT READ BORG REPOSITORIES, as the
magic strings have changed. you have been warned.""")
@ -939,7 +939,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
help='do not change repository')
subparser.add_argument('-i', '--inplace', dest='inplace',
default=False, action='store_true',
help="""rewrite repository in-place, with no chance of going back to older
help="""rewrite repository in place, with no chance of going back to older
versions of the repository.""")
subparser.add_argument('repository', metavar='REPOSITORY', nargs='?', default='',
type=location_validator(archive=False),

View File

@ -185,8 +185,8 @@ def test_hardlink(tmpdir, inplace):
"""test that we handle hard links properly
that is, if we are in "inplace" mode, hardlinks should *not*
change (ie. we write the file directly, so not the whole file, and
not re-create the file).
change (ie. we write to the file directly, so we do not rewrite the
whole file, and we do not re-create the file).
if we are *not* in inplace mode, then the inode should change, as
we are supposed to leave the original inode alone."""