diff options
author | Werner Koch <wk@gnupg.org> | 2024-02-20 11:40:49 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-02-20 11:40:49 +0100 |
commit | 95bc592ab547cd88f912d15973fa854b46f2f4d1 (patch) | |
tree | ec36165e361f84985a53ca9b8d7116ff4490c04f | |
parent | scd:p15: Fix typo in a comment (diff) | |
download | gnupg2-95bc592ab547cd88f912d15973fa854b46f2f4d1.tar.xz gnupg2-95bc592ab547cd88f912d15973fa854b46f2f4d1.zip |
g13: Allow command line style "g13 mount foo".
* g13/g13.c (main): Set flag ARGPARSE_FLAG_COMMAND.
--
This requires gpgrt 1.48. Of course "g13 --mount foo" continues to
work.
-rw-r--r-- | g13/g13.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -457,6 +457,9 @@ main (int argc, char **argv) pargs.argv = &argv; pargs.flags |= (ARGPARSE_FLAG_RESET | ARGPARSE_FLAG_KEEP +#if GPGRT_VERSION_NUMBER >= 0x013000 /* >= 1.48 */ + | ARGPARSE_FLAG_COMMAND +#endif | ARGPARSE_FLAG_SYS | ARGPARSE_FLAG_USER); |