summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-09 20:53:54 +0000
committermidipix <writeonce@midipix.org>2024-02-09 20:53:54 +0000
commit6b24134383e78124e81ac94b1c9e21383fcc1308 (patch)
tree3403840ca67cc7eb42a956f3f1c1682010670235 /src/driver
parentc3d88b9a38867353e774c7f0380686d46dc368f3 (diff)
downloadslibtool-6b24134383e78124e81ac94b1c9e21383fcc1308.tar.bz2
slibtool-6b24134383e78124e81ac94b1c9e21383fcc1308.tar.xz
driver: provide wrappers for argv_usage() and argv_usage_plain().
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index a8aaffb..12748cd 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -131,6 +131,26 @@ void slbt_argv_free(struct argv_meta * meta)
}
+void slbt_argv_usage(
+ int fd,
+ const char * header,
+ const struct argv_option ** optv,
+ const char * mode)
+{
+ return argv_usage(fd,header,optv,mode);
+}
+
+
+void slbt_argv_usage_plain(
+ int fd,
+ const char * header,
+ const struct argv_option ** optv,
+ const char * mode)
+{
+ return argv_usage_plain(fd,header,optv,mode);
+}
+
+
uint64_t slbt_argv_flags(uint64_t flags)
{
uint32_t ret = 0;