summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPim Snel <pim@lingewoud.nl>2020-02-06 17:25:23 +0100
committerPim Snel <pim@lingewoud.nl>2020-02-06 17:25:23 +0100
commit7f70295826df9fdf040d175bc78f77aca0f1c1c4 (patch)
tree7fe19f5f40f2f4c20a1056157cb80a039be2cae8 /src/main.c
parenteb809f9cb9ee0c9c868e41609c2e50865646e7d6 (diff)
add --export_mkd option
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2b926e3..1da5ca8 100644
--- a/src/main.c
+++ b/src/main.c
@@ -329,10 +329,15 @@ int main (int argc, char ** argv) {
export_delim(NULL, '\t', 0, 0, maxrow, maxcol, 0);
}
+ if (get_conf_value("export_mkd")) {
+ export_markdown(NULL, 0, 0, maxrow, maxcol);
+ }
+
if (get_conf_value("export") || get_conf_value("export_txt")) {
export_plain(NULL, 0, 0, maxrow, maxcol);
}
+
while ( ! shall_quit && ! atoi((char *) get_conf_value("quit_afterload"))) {
// save current time for runtime timer
gettimeofday(&current_tv, NULL);