diff options
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 20 | ||||
-rw-r--r-- | src/internal/slibtool_driver_impl.h | 14 |
2 files changed, 34 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; diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h index 825eb2a..c81fe67 100644 --- a/src/internal/slibtool_driver_impl.h +++ b/src/internal/slibtool_driver_impl.h @@ -196,6 +196,20 @@ struct argv_meta * slbt_argv_get( void slbt_argv_free(struct argv_meta *); +void slbt_argv_usage( + int fd, + const char * header, + const struct argv_option **, + const char * mode); + + +void slbt_argv_usage_plain( + int fd, + const char * header, + const struct argv_option **, + const char * mode); + + int slbt_driver_usage( int fdout, const char * program, |