diff options
author | Werner Koch <[email protected]> | 2019-03-06 19:08:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-03-06 19:08:26 +0000 |
commit | b3a7a5140784b5a015107b5c5c73b15ae44e71dc (patch) | |
tree | 1269d36bf7c060c822df4d3205b50d61b39cece4 /doc/tools.texi | |
parent | agent: Re-introduce --enable-extended-key-format. (diff) | |
download | gnupg-b3a7a5140784b5a015107b5c5c73b15ae44e71dc.tar.gz gnupg-b3a7a5140784b5a015107b5c5c73b15ae44e71dc.zip |
gpgtar: Make option -C work for archive creation.
* tools/gpgtar-create.c (gpgtar_create): Switch to the -C directory.
--
The -C option is pretty useful given that pattern are always relative
to the current directory. In contrast to GNU tar, the switching is
done only once.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'doc/tools.texi')
-rw-r--r-- | doc/tools.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/tools.texi b/doc/tools.texi index 6256c05ed..119f698d6 100644 --- a/doc/tools.texi +++ b/doc/tools.texi @@ -2014,10 +2014,11 @@ Do not actually output the extracted files. @item --directory @var{dir} @itemx -C @var{dir} @opindex directory -Extract the files into the directory @var{dir}. The -default is to take the directory name from -the input filename. If no input filename is known a directory named -@file{GPGARCH} is used. +Extract the files into the directory @var{dir}. The default is to +take the directory name from the input filename. If no input filename +is known a directory named @file{GPGARCH} is used. For tarball +creation, switch to directory @var{dir} before performing any +operations. @item --files-from @var{file} @itemx -T @var{file} |