diff options
author | midipix <writeonce@midipix.org> | 2018-05-22 23:49:56 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-22 23:49:12 -0400 |
commit | 7deda55512cec1a0f039d816b5d8c7371c3fc308 (patch) | |
tree | 450952bb511841cd87307180a6e71d8ce2c4047b /src/skin/ntux_skin_spawn.c | |
parent | db57dda7109c9ae4cace41fbb4b38e22287873a4 (diff) | |
download | ntux-7deda55512cec1a0f039d816b5d8c7371c3fc308.tar.bz2 ntux-7deda55512cec1a0f039d816b5d8c7371c3fc308.tar.xz |
driver: added --cmd={spawn|strace} support, support multiple option sets.
Diffstat (limited to 'src/skin/ntux_skin_spawn.c')
-rw-r--r-- | src/skin/ntux_skin_spawn.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/skin/ntux_skin_spawn.c b/src/skin/ntux_skin_spawn.c new file mode 100644 index 0000000..d7bac9b --- /dev/null +++ b/src/skin/ntux_skin_spawn.c @@ -0,0 +1,12 @@ +#include "ntux_driver_impl.h" +#include "argv/argv.h" + +const struct argv_option ntux_spawn_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]"}, + + {0,0,0,0,0,0,0,0} +}; |