[Nym3-commit] r236 - trunk/nym3/Client

laurent at conuropsis.org laurent at conuropsis.org
Thu May 5 18:36:48 CEST 2005


Author: laurent
Date: 2005-05-05 18:36:47 +0200 (Thu, 05 May 2005)
New Revision: 236

Modified:
   trunk/nym3/Client/Main.py
Log:
Wrote usage.


Modified: trunk/nym3/Client/Main.py
===================================================================
--- trunk/nym3/Client/Main.py	2005-05-05 15:49:48 UTC (rev 235)
+++ trunk/nym3/Client/Main.py	2005-05-05 16:36:47 UTC (rev 236)
@@ -41,6 +41,18 @@
 import mixminion.Crypto as _cr
 import mixminion.ClientDirectory as _cl
 
+usage_string = """Usage: nym3 <command> [arguments]
+where <command is one of:
+    \tcreate\t\tCreate a new account
+    \tsend\t\tSend an anonymous mail with your nym
+    \tsummarize\tRetrieve email summaries
+    \tdelete\t\tRequest email deletion
+    \tget\t\tRetrieve email
+    \tprocess\t\tProcess returning server messages
+    \tlist-syn\tList already fetched summaries
+    \tlist-mbox\tList already fetched emails
+    \texport\t\tExport already fetched emails to a file"""
+
 class CLI:
     def __init__(self):
 	pass
@@ -412,7 +424,7 @@
 
 def main(args):
     if len(args) < 2:
-	print "Usage: WRITEME"
+	print usage_string
 	sys.exit(1)
     if args[1] == "create":
 	parser = OptionParser()



More information about the Nym3-commit mailing list