diff options
author | Andrés M <andmarti1424@users.noreply.github.com> | 2020-02-06 13:47:01 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 13:47:01 -0300 |
commit | 3b5a803cc3f8a0bfb2885b1582140e5cfbb9f5e5 (patch) | |
tree | fc4774f9dfcaecd08860292124665d4644875acc /src/main.c | |
parent | 3ce04c7bc690d732a25b976b3737c809e2146c39 (diff) | |
parent | 7f70295826df9fdf040d175bc78f77aca0f1c1c4 (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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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(¤t_tv, NULL); |