summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index f5e7ef2..ec47db8 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -1270,11 +1270,12 @@ int slbt_get_driver_ctx(
switch (entry->tag) {
case TAG_HELP:
case TAG_HELP_ALL:
- if (flags & SLBT_DRIVER_VERBOSITY_USAGE)
- return slbt_driver_usage(
+ return (flags & SLBT_DRIVER_VERBOSITY_USAGE)
+ ? slbt_driver_usage(
fdctx->fdout,program,
entry->arg,optv,
- meta,&sargv);
+ meta,&sargv)
+ : SLBT_USAGE;
case TAG_VERSION:
cctx.drvflags |= SLBT_DRIVER_VERSION;