summaryrefslogtreecommitdiff
path: root/blasms.c
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-11-01 17:32:42 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-11-01 17:32:42 +0000
commit93044d0f4c93f79c7f5e8dc7d14d6a5f0d4d422e (patch)
tree2ae62bb915b6704ab2b33a1163eb8f097e897336 /blasms.c
parenta09e1cfb55d28b176f0f1703c4e8a9d1629f2d4b (diff)
Update documentationHEADmaster
Diffstat (limited to 'blasms.c')
-rw-r--r--blasms.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/blasms.c b/blasms.c
index 08abcac..273002f 100644
--- a/blasms.c
+++ b/blasms.c
@@ -273,6 +273,10 @@ int main(int argc, char *argv[]) {
" %%s - replaced with the SMS content\n"
" %%P - attempts to replace the second word in the SMS with a destination number\n"
" from phonebook.conf - SMS not processed if entry not found\n"
+ " %%M - intepret the second word (i.e. after the command) of the SMS\n"
+ " as FILENAME, attempt to open the file \"pending/FILENAME\", treating\n"
+ " the first word of it as a number, attempting to look up its name,\n"
+ " and insert a colon between it and the rest of the file.\n"
"\n"
"An example blasms.conf might be:\n"
" default echo \\\"SMS from %%N at %%d: %%s\\\"\n"