summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-03 03:57:35 +0000
committermidipix <writeonce@midipix.org>2024-02-03 03:57:35 +0000
commit8868650e2edf08dac6d2472a6ead903db48d12f7 (patch)
tree89558de412501d58658e486fffb410309c6c83d2 /src/logic
parentef5cd3159e27beed97276db4ae33ea54558fb0fe (diff)
downloadslibtool-8868650e2edf08dac6d2472a6ead903db48d12f7.tar.bz2
slibtool-8868650e2edf08dac6d2472a6ead903db48d12f7.tar.xz
ar mode: driver: added the -Wposix and -Wyaml shorthand switches.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_ar.c10
1 files changed, 10 insertions, 0 deletions
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;