mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-23 01:44:52 +01:00
notmuch new: Restrict the "not much" pun to the first run.
Several people complained that the humor wore thin very quickly. The most significant case of "not much mail" is when counting the user's initial mail collection. We've promised on the web page that no matter how much mail the user has, notmuch will consider it to be "not much" so let's say so. (This message was in place very early on, but was inadvertently dropped at some point.)
This commit is contained in:
parent
3f406fdefc
commit
e1669b155c
1 changed files with 3 additions and 3 deletions
|
@ -485,7 +485,7 @@ notmuch_new_command (void *ctx, int argc, char *argv[])
|
|||
if (interrupted)
|
||||
return 1;
|
||||
|
||||
printf ("Found %d total files. \n", count);
|
||||
printf ("Found %d total files (that's not much mail).\n", count);
|
||||
notmuch = notmuch_database_create (db_path);
|
||||
add_files_state.ignore_read_only_directories = FALSE;
|
||||
add_files_state.total_files = count;
|
||||
|
@ -525,12 +525,12 @@ notmuch_new_command (void *ctx, int argc, char *argv[])
|
|||
}
|
||||
}
|
||||
if (add_files_state.added_messages) {
|
||||
printf ("Added %d new %s to the database (not much, really).\n",
|
||||
printf ("Added %d new %s to the database.\n",
|
||||
add_files_state.added_messages,
|
||||
add_files_state.added_messages == 1 ?
|
||||
"message" : "messages");
|
||||
} else {
|
||||
printf ("No new mail---and that's not much.\n");
|
||||
printf ("No new mail.\n");
|
||||
}
|
||||
|
||||
if (elapsed > 1 && ! add_files_state.saw_read_only_directory) {
|
||||
|
|
Loading…
Reference in a new issue