summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorAndrés M <andmarti1424@users.noreply.github.com>2020-02-06 13:47:01 -0300
committerGitHub <noreply@github.com>2020-02-06 13:47:01 -0300
commit3b5a803cc3f8a0bfb2885b1582140e5cfbb9f5e5 (patch)
treefc4774f9dfcaecd08860292124665d4644875acc /src/main.c
parent3ce04c7bc690d732a25b976b3737c809e2146c39 (diff)
parent7f70295826df9fdf040d175bc78f77aca0f1c1c4 (diff)
Merge pull request #386 from mipmip/pr-export-argument-mkd
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 abc0a53..99fbc84 100644
--- a/src/main.c
+++ b/src/main.c
@@ -333,10 +333,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);