summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/ntux_skin_bridge.c24
-rw-r--r--src/skin/ntux_skin_default.c2
2 files changed, 25 insertions, 1 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}
+};
diff --git a/src/skin/ntux_skin_default.c b/src/skin/ntux_skin_default.c
index b7fabc6..8daf019 100644
--- a/src/skin/ntux_skin_default.c
+++ b/src/skin/ntux_skin_default.c
@@ -9,7 +9,7 @@ const struct argv_option ntux_default_options[] = {
"show usage information [listing %s options only]"},
{"cmd", 0,TAG_CMD,ARGV_OPTARG_REQUIRED,0,
- "stat|spawn|strace|chmod|aceit|fspath",0,
+ "stat|spawn|strace|chmod|aceit|fspath|bridge",0,
"invoke one of the following ntux commands: %s"},
{0,0,0,0,0,0,0,0}