aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@inria.fr>2025-11-16 18:14:24 +0100
committerTristan Riehs <tristan.riehs@inria.fr>2025-11-16 18:14:24 +0100
commit40e5e07d0e4e80244572e2dead4faa6e58ab6643 (patch)
tree54c139fcd737933230679a036a68400bde35ca53 /src/main.c
parentbd9cfa05d376c6e5f5e0afc1245e1b76248d689a (diff)
Add information in date prompts
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index b81b1de..29f98f3 100644
--- a/src/main.c
+++ b/src/main.c
@@ -227,7 +227,8 @@ static void ftag_add_one_file(sqlite3 *db,
char *date_str = malloc(line_len);
struct tm *now_tm = localtime(&date);
strftime(date_str, line_len-1, "%Y-%m-%d", now_tm);
- printf("Enter the date in the format YYYY-MM-DD. If no input is\n"
+ printf("Enter the date in the format YYYY-MM-DD, day and month may be "
+ "omitted. If no input is\n"
"given, date will be \"%s\".\n", date_str);
read_len = getline(&date_str, &line_len, stdin);
if (read_len == -1) {