aboutsummaryrefslogtreecommitdiff
path: root/ttt.jai
diff options
context:
space:
mode:
Diffstat (limited to 'ttt.jai')
-rw-r--r--ttt.jai14
1 files changed, 6 insertions, 8 deletions
diff --git a/ttt.jai b/ttt.jai
index c77f2a3..655fac8 100644
--- a/ttt.jai
+++ b/ttt.jai
@@ -21,6 +21,7 @@
// #import "File_Utilities";
VERSION :: "2.0"; // Use only 3 chars (to fit layouts).
+YEAR :: "2023";
TASK_NAME_LENGTH :: 57;
TASK_NAME_BYTES :: #run TASK_NAME_LENGTH+1; // TODO Get rid of this!
FIRST_DAY_OF_WEEK :: 1; // (0-6, Sunday = 0).
@@ -1330,17 +1331,14 @@ main :: () {
return;
}
- }}// TODO To be removed once we continue our journey...
- /*
+
if is_equal_to_any(args[it], "--version", "-v") {
- print("Task Time Tracker version % \n"
- "Copyright 2023 Daniel Martins\n"
- "License GPL-3.0-or-later\n"
- );
+ print("Task Time Tracker version % \nCopyright % Daniel Martins\nLicense GPL-3.0-or-later\n", VERSION, YEAR);
free_memory();
- return EXIT_SUCCESS;
+ return;
}
-
+ }}// TODO To be removed once we continue our journey...
+ /*
if (is_equal_to_any(args[it], "--import-csv", "-i")) {
idx++;
if (idx >= argc) {