summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst9
-rw-r--r--Help/release/dev/file-archive-workdir.rst5
2 files changed, 14 insertions, 0 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index b7d3413..315762e 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -903,6 +903,7 @@ Archiving
[COMPRESSION <compression>
[COMPRESSION_LEVEL <compression-level>]]
[MTIME <mtime>]
+ [WORKING_DIRECTORY <dir>]
[VERBOSE])
:target: ARCHIVE_CREATE
:break: verbatim
@@ -946,6 +947,14 @@ Archiving
``MTIME <mtime>``
Specify the modification time recorded in tarball entries.
+ ``WORKING_DIRECTORY <dir>``
+ .. versionadded:: 3.31
+
+ Specify the directory in which the archive creation operation will
+ be executed. Paths in the ``<paths>`` argument can be relative to
+ this directory. If this option is not provided, the current working
+ directory will be used by default.
+
``VERBOSE``
Enable verbose output from the archive operation.
diff --git a/Help/release/dev/file-archive-workdir.rst b/Help/release/dev/file-archive-workdir.rst
new file mode 100644
index 0000000..baf4a22
--- /dev/null
+++ b/Help/release/dev/file-archive-workdir.rst
@@ -0,0 +1,5 @@
+file-archive-workdir
+--------------------
+
+* The :command:`file(ARCHIVE_CREATE)` command gained a ``WORKING_DIRECTORY``
+ option to specify a working directory for the archiving process.