2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 10:58:55 +00:00

--hostname flag is deprecated

Update documentation to follow the deprecation warning "Flag --hostname has been deprecated, use --host" that is given on the latest build(s).
This commit is contained in:
Tony Scelfo 2020-06-29 12:53:57 -06:00 committed by GitHub
parent 6fedf1a7f4
commit 6a607d6ded
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ Multiple policies will be ORed together so as to be as inclusive as possible
for keeping snapshots. for keeping snapshots.
Additionally, you can restrict removing snapshots to those which have a Additionally, you can restrict removing snapshots to those which have a
particular hostname with the ``--hostname`` parameter, or tags with the particular hostname with the ``--host`` parameter, or tags with the
``--tag`` option. When multiple tags are specified, only the snapshots ``--tag`` option. When multiple tags are specified, only the snapshots
which have all the tags are considered. For example, the following command which have all the tags are considered. For example, the following command
removes all but the latest snapshot of all snapshots that have the tag ``foo``: removes all but the latest snapshot of all snapshots that have the tag ``foo``: