diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 18:14:24 +0100 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2025-11-16 18:14:24 +0100 |
| commit | 40e5e07d0e4e80244572e2dead4faa6e58ab6643 (patch) | |
| tree | 54c139fcd737933230679a036a68400bde35ca53 | |
| parent | bd9cfa05d376c6e5f5e0afc1245e1b76248d689a (diff) | |
Add information in date prompts
| -rw-r--r-- | src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |
