summaryrefslogtreecommitdiff
path: root/src/args.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 23:22:36 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 23:31:31 +0200
commit5aec5408950ed41fad203e749bda225bd3f86a8b (patch)
tree87e49708cb0ab6d8ca92484ac331cd6a42a166a6 /src/args.c
parente93030befb2aebe94faf5c5455313d312611d7b3 (diff)
downloadcalcurse-5aec5408950ed41fad203e749bda225bd3f86a8b.zip
Allow for merging data files when reloading
This allows for merging the (unsaved) items with the items from the data files when invoking the reload operation. To this end, an external merge tool (defaults to vimdiff) is used. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/args.c b/src/args.c
index 8b62cb8..8a9aa49 100644
--- a/src/args.c
+++ b/src/args.c
@@ -707,8 +707,8 @@ int parse_args(int argc, char **argv)
io_load_app();
io_load_todo();
io_import_data(IO_IMPORT_ICAL, ifile);
- io_save_apts();
- io_save_todo();
+ io_save_apts(path_apts);
+ io_save_todo(path_todo);
non_interactive = 1;
}
if (xflag) {