[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30557 - eclectic/gplmt
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30557 - eclectic/gplmt |
Date: |
Wed, 6 Nov 2013 10:27:17 +0100 |
Author: wachs
Date: 2013-11-06 10:27:17 +0100 (Wed, 06 Nov 2013)
New Revision: 30557
Modified:
eclectic/gplmt/gplmt.py
Log:
cli parsing
Modified: eclectic/gplmt/gplmt.py
===================================================================
--- eclectic/gplmt/gplmt.py 2013-11-06 07:01:02 UTC (rev 30556)
+++ eclectic/gplmt/gplmt.py 2013-11-06 09:27:17 UTC (rev 30557)
@@ -114,7 +114,9 @@
elif o in ("-s", "--startid"):
startid = a
else:
- assert False, "unhandled option"
+ print "Unknown argument '" +str(o)+ "'"
+ usage()
+ sys.exit()
if (verbose == True):
main.gplmt_logger = Util.Logger (True)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30557 - eclectic/gplmt,
gnunet <=