summaryrefslogtreecommitdiffhomepage
path: root/src/skin
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-29 02:39:30 +0000
committermidipix <writeonce@midipix.org>2024-05-07 20:07:25 +0000
commit02e59c946d51faf976a85610e44d7b0ccf4a6e59 (patch)
tree660056e01b242e947e27c470b9989c7b1ae6b2b7 /src/skin
parente9098c5591f439cdf8a923c9298b8fc7ff28a3ac (diff)
downloadtreebnf-02e59c946d51faf976a85610e44d7b0ccf4a6e59.tar.bz2
treebnf-02e59c946d51faf976a85610e44d7b0ccf4a6e59.tar.xz
driver: created program skeleton.
Diffstat (limited to 'src/skin')
-rw-r--r--src/skin/tbnf_skin_default.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/skin/tbnf_skin_default.c b/src/skin/tbnf_skin_default.c
new file mode 100644
index 0000000..219099a
--- /dev/null
+++ b/src/skin/tbnf_skin_default.c
@@ -0,0 +1,12 @@
+#include "treebnf_driver_impl.h"
+#include "argv/argv.h"
+
+const struct argv_option tbnf_default_options[] = {
+ {"version", 0,TAG_VERSION,ARGV_OPTARG_NONE,0,0,0,
+ "show version information"},
+
+ {"help", 0,TAG_HELP,ARGV_OPTARG_OPTIONAL,0,"short|long",0,
+ "show usage information [listing %s options only]"},
+
+ {0,0,0,0,0,0,0,0}
+};