[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [torflow/master 62/92] Better usage info. Getopt requires '=' between option and argument, options that take an argument _must_ have an argument



Author: John M. Schanck <john@xxxxxxxxxxx>
Date: Sat, 7 Aug 2010 17:30:17 -0400
Subject: Better usage info. Getopt requires '=' between option and argument, options that take an argument _must_ have an argument
Commit: db0e4b172a81315759b97081da445fa6d67d99bd

---
 NetworkScanners/ExitAuthority/soat.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index fb4a772..7000efd 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -2847,9 +2847,9 @@ def main(argv):
   if len(argv) < 2:
     print ''
     print 'Please provide at least one test option:'
-    print '--pernode <n>'
-    print '--resume [<n>]'
-    print '--rescan [<n>]'
+    print '--pernode=<n>'
+    print '--resume=<n>'
+    print '--rescan=<n>'
     print '--ssl'
     print '--http'
     print '--html'
@@ -2859,8 +2859,8 @@ def main(argv):
 #    print '--imap (~works)'
     print '--dnsrebind (use with one or more of above tests)'
     print '--policies'
-    print '--exit <exit>'
-    print '--target <ip or url>'
+    print '--exit=<exit>'
+    print '--target=<ip or url>'
     print ''
     return
 
-- 
1.7.1