aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..cd5eb3a
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,16 @@
+#include "opt.h"
+
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ opt_parse(argc, argv);
+
+ if (opt_infile_str())
+ puts(opt_infile_str());
+
+ if (opt_outfile_str())
+ puts(opt_outfile_str());
+
+ return 0;
+}