From 063962394bfc533d2fbc6120c682d635cdd2c6a7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 8 Jun 2024 22:04:08 +0000 Subject: driver: posix semantics: implement -H and -L as mutually-exclusive options. --- src/driver/tpax_driver_ctx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/driver/tpax_driver_ctx.c b/src/driver/tpax_driver_ctx.c index dccab98..e9425f6 100644 --- a/src/driver/tpax_driver_ctx.c +++ b/src/driver/tpax_driver_ctx.c @@ -88,7 +88,7 @@ static int tpax_driver_usage( "Synopsis:\n" " %s [-d] [-f archive]\n" " %s -r [-d] [-f archive]\n" - " %s -w [−x format] [-b blocksize] [-dtHL] [-f archive]\n" + " %s -w [−x format] [-b blocksize] [-dt] [-H|-L] [-f archive]\n" " %s -r -w [-d]\n\n" "Options:\n", program,program,program,program,program); @@ -532,6 +532,7 @@ int tpax_lib_get_driver_ctx( case TAG_PAX_SYMLINK_ARGS: cctx.drvflags |= TPAX_DRIVER_PAX_SYMLINK_ARGS; + cctx.drvflags &= ~(uint64_t)TPAX_DRIVER_PAX_SYMLINK_ITEMS; break; case TAG_PAX_SYMLINK_ITEMS: -- cgit v1.2.3