GCC_NEED_DECLARATION used to prevent (maintainer-only) GCC warnings.
[mdsms.git] / mdsms.1.in
index 8e829f9..d645d68 100644 (file)
@@ -1,14 +1,6 @@
 .TH MDSMS 1 "17 May 1999" ~    VERSION ~ "SendSMS Manual"
 
 .\~ $Id$
-.\~
-.\~ $Log$
-.\~ Revision 1.2  1999/06/03 10:38:52  short
-.\~ Implemented remaining communication timeouts and maximum retry count.
-.\~
-.\~ Revision 1.1.1.1  1999/05/26 13:06:26  short
-.\~ First alpha release.
-.\~
 
 .SH NAME
 mdsms \- send SMSes through MobilDock
@@ -17,13 +9,14 @@ mdsms \- send SMSes through MobilDock
 .B mdsms
 .RB [ "-c <cfgfile>" ]
 .RB [ "-d <device>" ]
+.RB [ "-L <file>" ]
 .RB [ "-l <lockfile>" ]
 .RB [ "-s <smsc #>" ]
 .RB [ "-m <#>" ]
 .RB [ "-r <sec>" ]
 .RB [ "-t <msec>" ]
 .RB [ "-T <msec>" ]
-.RB [ "\-vhV" ]
+.RB [ "\-fvhV" ]
 .RB [ "<dest. phone>" ]
 .RB [ "<msg text>" ]
 
@@ -44,6 +37,13 @@ subsequently with
 .BR -l | --lockfile
 option, see below.
 .TP
+.BR -L | --log\  < file >
+Log all important messages to this file preceded by timestamp, machine hostname
+etc., similar to output of
+.BR syslogd (8).
+If set to empty string (which is default - ~\fB        DEF_LOGNAME     \fP~), nothing
+is logged anywhere.
+.TP
 .BR -l | --lockfile\  < lockfile >
 Prior to accessing serial device specified above the lockfile should be
 acquired for correct concurrent processes behaviour. Although this name
@@ -118,6 +118,11 @@ and to satisfy these requirements this delay was considered as the best
 approach. The default value is
 .BR DEF_CMDTIME ms.
 .TP
+.BR -f | --file
+When parameter <\fBmsg text\fP> has been specified, by using this option
+\fBmdsms\fP will read the file with the <\fBmsg text\fP> filename instead
+and send its \fBcontents\fP as the SMS message.
+.TP
 .BR -v | --verbose
 Increase verbosity level by one. Currently the maximum defined level is
 .BR 3 ,
@@ -129,7 +134,7 @@ Give short parameters description to
 .I stderr
 (standard error output stream).
 .TP
-.BR -v | --version
+.BR -V | --version
 Print the version number and exit.
 .TP
 .RB < "dest. phone" >