|
From: <di...@us...> - 2007-01-26 03:56:41
|
Revision: 295
http://safekeep.svn.sourceforge.net/safekeep/?rev=295&view=rev
Author: dimi
Date: 2007-01-25 19:56:40 -0800 (Thu, 25 Jan 2007)
Log Message:
-----------
Reorganize the help message for clarity
Modified Paths:
--------------
safekeep/trunk/safekeep
Modified: safekeep/trunk/safekeep
===================================================================
--- safekeep/trunk/safekeep 2007-01-25 18:36:32 UTC (rev 294)
+++ safekeep/trunk/safekeep 2007-01-26 03:56:40 UTC (rev 295)
@@ -735,24 +735,30 @@
######################################################################
def usage():
- print 'usage: %s <mode> [options]' % (sys.argv[0])
- print ' %s [-k|--keys] [--status|--print|--deploy] [clientid1 [clientid2] ...]' % (sys.argv[0])
+ print 'usage: %s [-s|--server] [common options] [server options]' % (sys.argv[0])
+ print ' %s [-c|--client] [common options]' % (sys.argv[0])
+ print ' %s [-k|--keys] [common options] [keys options] [clientid1 [clientid2] ...]' % (sys.argv[0])
+ print
print 'mode selection (pick one):'
print '-s, --server launch in server mode (default)'
print '-c, --client launch in client mode'
- print '-k, --keys manage SSH keys'
+ print '-k, --keys launch in keys management mode'
+ print
+ print 'common options:'
print '-h, --help show this help message and exit'
+ print '-q, --quiet decreases the verbosity level'
+ print '-v, --verbose increases the verbosity level'
print '-V, --version show the version number and exit'
print
- print 'options:'
+ print 'keys options:'
+ print '--status display the key status for the clients (default)'
+ print '--print display the authorization keys'
+ print '--deploy deploy the authorization keys'
+ print
+ print 'server options:'
print '-C, --cfg=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: built-in SMTP)'
- print '--status display the key status for the clients (keys mode only, default)'
- print '--print display the authorization keys (keys mode only)'
- print '--deploy deploy the authorization keys (keys mode only)'
- print '-q, --quiet decreases the verbosity level'
- print '-v, --verbose increases the verbosity level'
def main():
try:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|