From 40e5e07d0e4e80244572e2dead4faa6e58ab6643 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 16 Nov 2025 18:14:24 +0100 Subject: Add information in date prompts --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3