From 8fb92c8e591e827b57a43738a0aa9be9e003d8cd Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 23 Mar 2024 22:48:47 +0000 Subject: slibtoolize: driver: added support for --quiet, --silent, and -verbose. --- src/logic/slbt_exec_stoolie.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/logic') 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) { -- cgit v1.2.3