commit 7baf2754b4b152a285a3446ba0c264712a2985a5 Author: Arturo Filastò art@fuffa.org Date: Thu Feb 20 13:41:05 2014 +0000
Add WARNING message to every run of ooniprobe.
This closes #285 --- ooni/oonicli.py | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/ooni/oonicli.py b/ooni/oonicli.py index 0dc6637..904f7fb 100644 --- a/ooni/oonicli.py +++ b/ooni/oonicli.py @@ -78,6 +78,9 @@ class Options(usage.Options): raise usage.UsageError("No test filename specified!")
def parseOptions(): + print "WARNING: running ooniprobe involves some risk that varies greatly" + print " from country to country. You should be aware of this when" + print " running the tool. Read more about this in the README." cmd_line_options = Options() if len(sys.argv) == 1: cmd_line_options.getUsage()
tor-commits@lists.torproject.org