summaryrefslogtreecommitdiffhomepage
path: root/src/skin/ntux_skin_bridge.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2022-10-24 01:33:09 +0000
committermidipix <writeonce@midipix.org>2022-10-30 16:24:17 +0000
commitb824c9188a7636b0f8b483ac1ade79885610cca1 (patch)
tree85f91fbac5cfad0bd7b742ee8a2b727bdfe9d7ac /src/skin/ntux_skin_bridge.c
parent6dc70d02aa1767532f0339e7e335d544edced1c8 (diff)
downloadntux-b824c9188a7636b0f8b483ac1ade79885610cca1.tar.bz2
ntux-b824c9188a7636b0f8b483ac1ade79885610cca1.tar.xz
ntux_cmd_bridge(): initial implementation and integration.
Diffstat (limited to 'src/skin/ntux_skin_bridge.c')
-rw-r--r--src/skin/ntux_skin_bridge.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/skin/ntux_skin_bridge.c b/src/skin/ntux_skin_bridge.c
new file mode 100644
index 0000000..d66eac6
--- /dev/null
+++ b/src/skin/ntux_skin_bridge.c
@@ -0,0 +1,24 @@
+#include "ntux_driver_impl.h"
+#include "argv/argv.h"
+
+const struct argv_option ntux_bridge_options[] = {
+ {"version", 'v',TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
+ "show version information"},
+
+ {"help", 'h',TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
+ "show usage information [listing %s options only]"},
+
+ {"interp", 'i',TAG_INTERP,ARGV_OPTARG_REQUIRED,0,0,0,
+ "script interpreter to execute"},
+
+ {"script", 's',TAG_SCRIPT,ARGV_OPTARG_REQUIRED,0,0,0,
+ "script argument to be passed to interpreter"},
+
+ {"optarg", 's',TAG_OPTARG,ARGV_OPTARG_REQUIRED,0,0,0,
+ "optional argument to be passed to interpreter"},
+
+ {"logfile", 'o',TAG_LOGFILE,ARGV_OPTARG_REQUIRED,0,0,"<FILE>",
+ "write output to %s"},
+
+ {0,0,0,0,0,0,0,0}
+};