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 /tools/gpgtar.c | |
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 'tools/gpgtar.c')
-rw-r--r-- | tools/gpgtar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpgtar.c b/tools/gpgtar.c index 77001dc91..b33aa6d0f 100644 --- a/tools/gpgtar.c +++ b/tools/gpgtar.c @@ -112,7 +112,7 @@ static ARGPARSE_OPTS opts[] = { ARGPARSE_group (302, N_("@\nTar options:\n ")), ARGPARSE_s_s (oDirectory, "directory", - N_("|DIRECTORY|extract files into DIRECTORY")), + N_("|DIRECTORY|change to DIRECTORY first")), ARGPARSE_s_s (oFilesFrom, "files-from", N_("|FILE|get names to create from FILE")), ARGPARSE_s_n (oNull, "null", N_("-T reads null-terminated names")), |