summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-13 03:10:11 +0000
committermidipix <writeonce@midipix.org>2024-02-13 03:13:49 +0000
commitc578162753123ea7d2746d2032ceb439c7c31d32 (patch)
tree686bee282ea50e6eb7854259a2e02ef350b26997 /src/driver/slbt_driver_ctx.c
parent32c2302764dce9380c427b748bc634825d08a2f7 (diff)
downloadslibtool-c578162753123ea7d2746d2032ceb439c7c31d32.tar.bz2
slibtool-c578162753123ea7d2746d2032ceb439c7c31d32.tar.xz
driver: rename --config as --info in anticipation of a compatible --config.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index c2ff1d0..d03d1ed 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -488,8 +488,8 @@ int slbt_get_driver_ctx(
cmdnoshared = entry;
break;
- case TAG_CONFIG:
- cctx.drvflags |= SLBT_DRIVER_CONFIG;
+ case TAG_INFO:
+ cctx.drvflags |= SLBT_DRIVER_INFO;
break;
case TAG_DUMPMACHINE:
@@ -773,7 +773,7 @@ int slbt_get_driver_ctx(
}
/* info mode */
- if (cctx.drvflags & (SLBT_DRIVER_CONFIG | SLBT_DRIVER_FEATURES))
+ if (cctx.drvflags & (SLBT_DRIVER_INFO | SLBT_DRIVER_FEATURES))
cctx.mode = SLBT_MODE_INFO;
/* --tag */