diff options
author | midipix <writeonce@midipix.org> | 2024-02-03 03:57:35 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-03 03:57:35 +0000 |
commit | 8868650e2edf08dac6d2472a6ead903db48d12f7 (patch) | |
tree | 89558de412501d58658e486fffb410309c6c83d2 /src/logic | |
parent | ef5cd3159e27beed97276db4ae33ea54558fb0fe (diff) | |
download | slibtool-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.c | 10 |
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; |