|
From: <di...@us...> - 2007-01-27 17:11:52
|
Revision: 319
http://safekeep.svn.sourceforge.net/safekeep/?rev=319&view=rev
Author: dimi
Date: 2007-01-27 09:11:50 -0800 (Sat, 27 Jan 2007)
Log Message:
-----------
Rename the -m option to -s, now that it's available.
Modified Paths:
--------------
safekeep/trunk/doc/safekeep.txt
safekeep/trunk/safekeep
Modified: safekeep/trunk/doc/safekeep.txt
===================================================================
--- safekeep/trunk/doc/safekeep.txt 2007-01-27 17:09:58 UTC (rev 318)
+++ safekeep/trunk/doc/safekeep.txt 2007-01-27 17:11:50 UTC (rev 319)
@@ -7,7 +7,7 @@
SYNOPSIS
--------
-'safekeep' [--server] [-q] [-v] [-c file] [-e <email>] [-m <smtp>] <clientid>*
+'safekeep' [--server] [-q] [-v] [-c file] [-e <email>] [-s <smtp>] <clientid>*
'safekeep' --client
@@ -97,9 +97,9 @@
the mail address where the logs are to be send. Can be specified
more than once to send reports to multiple addresses.
--m, --smtp=SMTP::
- Specifies the SMTP server used for sending
- mails when `-e` is used. Defaults to using `/usr/sbin/sendmail`.
+-s, --smtp=SMTP::
+ Specifies the SMTP server used for sending mails when `-e` is used.
+ Defaults to using `/usr/sbin/sendmail`.
KEYS OPTIONS
------------
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2007-01-27 17:09:58 UTC (rev 318)
+++ safekeep/trunk/safekeep 2007-01-27 17:11:50 UTC (rev 319)
@@ -766,12 +766,12 @@
print 'server options:'
print '-c, --conf=FILE|DIR use the given configuration file/directory'
print '-e, --email=EMAIL send results by email (can appear multiple times)'
- print '-m, --smtp=SMTP SMTP server to use when sending mails (default: sendmail)'
+ print '-s, --smtp=SMTP SMTP server to use when sending mails (default: sendmail)'
if exitcode is not None: sys.exit(exitcode)
def main():
try:
- opts, args = getopt.getopt(sys.argv[1:], 'c:e:hm:qvV',
+ opts, args = getopt.getopt(sys.argv[1:], 'c:e:hs:qvV',
[ 'conf=', 'client', 'clientid=', 'deploy',
'email=', 'help', 'keys', 'print',
'quiet', 'server', 'smtp=', 'status',
@@ -795,7 +795,7 @@
email.append(a)
elif o in ('-h', '--help'):
usage(0)
- elif o in ('-m', '--smtp'):
+ elif o in ('-s', '--smtp'):
smtp = a
elif o in ('--server', ):
if mode: usage(2)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|