diff options
author | Pim Snel <pim@lingewoud.nl> | 2020-02-06 17:25:23 +0100 |
---|---|---|
committer | Pim Snel <pim@lingewoud.nl> | 2020-02-06 17:25:23 +0100 |
commit | 7f70295826df9fdf040d175bc78f77aca0f1c1c4 (patch) | |
tree | 7fe19f5f40f2f4c20a1056157cb80a039be2cae8 /src/main.c | |
parent | eb809f9cb9ee0c9c868e41609c2e50865646e7d6 (diff) |
add --export_mkd option
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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(¤t_tv, NULL); |