summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-01-15 18:22:19 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-01-15 18:25:05 +0100
commitcaee34449c1c8b2c8bf3049f34625db871e7d9dc (patch)
treea41fbda7836e4e58850f93486c723408126a06cd /src/calcurse.c
parent39a3c0414455e2426dc2caa5ef24f23859a37069 (diff)
downloadcalcurse-caee34449c1c8b2c8bf3049f34625db871e7d9dc.zip
Export item UIDs upon request
Add a new --export-uid command line option that adds each item's hash to the UID property when exporting. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 9f85501..889c68c 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -293,10 +293,10 @@ static inline void key_generic_export()
switch (status_ask_choice
(export_msg, export_choices, nb_export_choices)) {
case 1:
- io_export_data(IO_EXPORT_ICAL);
+ io_export_data(IO_EXPORT_ICAL, 0);
break;
case 2:
- io_export_data(IO_EXPORT_PCAL);
+ io_export_data(IO_EXPORT_PCAL, 0);
break;
default: /* User escaped */
break;