From 8868650e2edf08dac6d2472a6ead903db48d12f7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 3 Feb 2024 03:57:35 +0000 Subject: ar mode: driver: added the -Wposix and -Wyaml shorthand switches. --- src/logic/slbt_exec_ar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/logic/slbt_exec_ar.c') diff --git a/src/logic/slbt_exec_ar.c b/src/logic/slbt_exec_ar.c index d3715a8..17ad439 100644 --- a/src/logic/slbt_exec_ar.c +++ b/src/logic/slbt_exec_ar.c @@ -215,6 +215,16 @@ int slbt_exec_ar( break; + case TAG_AR_POSIX: + ictx->cctx.fmtflags &= ~(uint64_t)SLBT_PRETTY_FLAGS; + ictx->cctx.fmtflags |= SLBT_PRETTY_POSIX; + break; + + case TAG_AR_YAML: + ictx->cctx.fmtflags &= ~(uint64_t)SLBT_PRETTY_FLAGS; + ictx->cctx.fmtflags |= SLBT_PRETTY_YAML; + break; + case TAG_AR_VERBOSE: ictx->cctx.fmtflags |= SLBT_PRETTY_VERBOSE; break; -- cgit v1.2.3