[ooni-probe/master] Display help if no command line options are specified

3 Mar
2012
3 Mar
'12
11:13 p.m.
commit b98ad9b11b90eacf08b962cef5391cc69fdfaedf Author: Arturo Filastò <hellais@gmail.com> Date: Sat Mar 3 15:08:38 2012 -0800 Display help if no command line options are specified --- ooniprobe.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ooniprobe.py b/ooniprobe.py index 958c9b1..6da2608 100755 --- a/ooniprobe.py +++ b/ooniprobe.py @@ -179,3 +179,6 @@ if __name__ == "__main__": elif args.runall: o.run_tests() + elif len(sys.argv) < 2: + parser.print_help() +
4843
Age (days ago)
4843
Last active (days ago)
0 comments
1 participants
participants (1)
-
art@torproject.org