1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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.
This commit is contained in:
Werner Koch 2024-02-20 11:40:49 +01:00
parent 3aa02027cd
commit 95bc592ab5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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);