mirror of https://github.com/borgbackup/borg.git
docs: extract: move cwd note to --help
This commit is contained in:
parent
09d0d566a5
commit
771168a3af
|
@ -21,9 +21,3 @@ Examples
|
||||||
|
|
||||||
# Restore a raw device (must not be active/in use/mounted at that time)
|
# 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
|
$ 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``.
|
|
||||||
|
|
|
@ -2893,6 +2893,11 @@ class Archiver:
|
||||||
|
|
||||||
``--progress`` can be slower than no progress display, since it makes one additional
|
``--progress`` can be slower than no progress display, since it makes one additional
|
||||||
pass over the archive metadata.
|
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,
|
subparser = subparsers.add_parser('extract', parents=[common_parser], add_help=False,
|
||||||
description=self.do_extract.__doc__,
|
description=self.do_extract.__doc__,
|
||||||
|
|
Loading…
Reference in New Issue