]> mj.ucw.cz Git - checkmail.git/commitdiff
Add help for OSD notifications
authorJiri Kalvoda <jirikalvoda@kam.mff.cuni.cz>
Sun, 18 Jul 2021 13:20:57 +0000 (15:20 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 21 Jan 2022 20:55:40 +0000 (21:55 +0100)
cm.c

diff --git a/cm.c b/cm.c
index c54a6efaa595c5f3d25e52acca2559be9a9f7eb1..c35f3c6f0bab0f5fc23bf14cc35f63efc64d0207 100644 (file)
--- a/cm.c
+++ b/cm.c
@@ -1557,6 +1557,13 @@ Options:\n\
 -s <key>=<val>\t\tSet on-screen display options (consult OSDD docs)\n\
 -t\t\t\tLet TAB select the next mailbox with new mail, no matter what priority it has\n\
 \n\
+On-screen display replacement (in all OSD values and notification lines):\n\
+%%%%\t\t%%\n\
+%%f\t\tFrom - mail author name\n\
+%%s\t\tMail subject\n\
+%%n\t\tCount of new mails\n\
+%%m\t\tCount of new mails minus one; if is less than one, whole line will be hidden\n\
+\n\
 Mailbox options (set with `-o', use upper case to negate):\n\
 0-9\t\t\tSet mailbox priority (0=default)\n\
 b\t\t\tBeep when a message arrives\n\