aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/main.c b/main.c
index 144f8ad..0623ef6 100644
--- a/main.c
+++ b/main.c
@@ -41,7 +41,11 @@
#define FIRST_DAY_OF_WEEK 1 // (0-6, Sunday = 0).
#define NUM_WEEK_DAYS 7 // Just to avoid magic numbers.
-#define HOME_PATH_ENV "HOME" // #if defined(_WIN64) #define HOME_PATH_ENV "USERPROFILE" #endif
+#if defined(_WIN64)
+#define HOME_PATH_ENV "USERPROFILE"
+#else
+#define HOME_PATH_ENV "HOME"
+#endif
#define APP_FOLDER_NAME ".task_time_tracker"
#define DB_FILE_NAME "database.bin"
#define AR_FILE_NAME "archive.csv"
@@ -1249,8 +1253,12 @@ int main(int argc, char *argv[]) {
" END Select last/bottom task.\n"
"\n"
"Notes\n"
- " During intensive tasks such as saving to file or recalculating totals times,\n"
- " a diamond symbol is shown on the top left corner.\n"
+ "- All data files are stored in '$" HOME_PATH_ENV "/.task_time_tracker'.\n"
+ " If $" HOME_PATH_ENV " is undefined, './.task_time_tracker' will be used.\n"
+ " The database entries are stored in binary format on the 'database.bin' file.\n"
+ " The archived entries are stored in CSV format on the 'archive.csv' file.\n"
+ "- During intensive tasks such as saving to file or recalculating totals times,\n"
+ " a diamond symbol is shown on the top left corner.\n"
);
free_memory();
return EXIT_SUCCESS;