mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tools/gpgtar: Handle '--directory' argument.
* tools/gpgtar-extract.c (gpgtar_extract): Only generate a directory name if none is given via arguments. * tools/gpgtar.c (enum cmd_and_opt_values): New constant. (opts): Add argument. (main): Parse argument. * tools/gpgtar.h (opt): New field 'directory'. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
89e104eb38
commit
127aba9a4d
3 changed files with 32 additions and 22 deletions
|
@ -35,6 +35,7 @@ struct
|
|||
const char *user;
|
||||
int symmetric;
|
||||
const char *filename;
|
||||
const char *directory;
|
||||
} opt;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue