summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-23 22:48:47 +0000
committermidipix <writeonce@midipix.org>2024-03-23 22:48:47 +0000
commit8fb92c8e591e827b57a43738a0aa9be9e003d8cd (patch)
tree12b1132b1cbb224d81cd85d40f1074c267b4893d /src/logic
parente6c34e06a12a0f8fd7deb17d8d4d2b050efbb673 (diff)
downloadslibtool-8fb92c8e591e827b57a43738a0aa9be9e003d8cd.tar.bz2
slibtool-8fb92c8e591e827b57a43738a0aa9be9e003d8cd.tar.xz
slibtoolize: driver: added support for --quiet, --silent, and -verbose.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/slbt_exec_stoolie.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_stoolie.c b/src/logic/slbt_exec_stoolie.c
index 100f913..45aa76d 100644
--- a/src/logic/slbt_exec_stoolie.c
+++ b/src/logic/slbt_exec_stoolie.c
@@ -165,6 +165,16 @@ int slbt_exec_stoolie(const struct slbt_driver_ctx * dctx)
case TAG_STLE_DRY_RUN:
ictx->cctx.drvflags |= SLBT_DRIVER_DRY_RUN;
break;
+
+ case TAG_STLE_SILENT:
+ ictx->cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_VERBOSE;
+ ictx->cctx.drvflags |= SLBT_DRIVER_SILENT;
+ break;
+
+ case TAG_STLE_VERBOSE:
+ ictx->cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_SILENT;
+ ictx->cctx.drvflags |= SLBT_DRIVER_VERBOSE;
+ break;
}
if (entry->fval) {