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:
parent
3aa02027cd
commit
95bc592ab5
@ -457,6 +457,9 @@ main (int argc, char **argv)
|
|||||||
pargs.argv = &argv;
|
pargs.argv = &argv;
|
||||||
pargs.flags |= (ARGPARSE_FLAG_RESET
|
pargs.flags |= (ARGPARSE_FLAG_RESET
|
||||||
| ARGPARSE_FLAG_KEEP
|
| ARGPARSE_FLAG_KEEP
|
||||||
|
#if GPGRT_VERSION_NUMBER >= 0x013000 /* >= 1.48 */
|
||||||
|
| ARGPARSE_FLAG_COMMAND
|
||||||
|
#endif
|
||||||
| ARGPARSE_FLAG_SYS
|
| ARGPARSE_FLAG_SYS
|
||||||
| ARGPARSE_FLAG_USER);
|
| ARGPARSE_FLAG_USER);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user