docs: extract: move cwd note to --help

This commit is contained in:
Marian Beermann 2017-06-21 00:16:25 +02:00
parent 09d0d566a5
commit 771168a3af
2 changed files with 5 additions and 6 deletions

View File

@ -21,9 +21,3 @@ Examples
# Restore a raw device (must not be active/in use/mounted at that time)
$ borg extract --stdout /path/to/repo::my-sdx | dd of=/dev/sdx bs=10M
.. Note::
Currently, extract always writes into the current working directory ("."),
so make sure you ``cd`` to the right place before calling ``borg extract``.

View File

@ -2893,6 +2893,11 @@ class Archiver:
``--progress`` can be slower than no progress display, since it makes one additional
pass over the archive metadata.
.. note::
Currently, extract always writes into the current working directory ("."),
so make sure you ``cd`` to the right place before calling ``borg extract``.
""")
subparser = subparsers.add_parser('extract', parents=[common_parser], add_help=False,
description=self.do_extract.__doc__,