aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g13/g13.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g13/g13.c b/g13/g13.c
index cb1880f80..4942e7893 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -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);