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

[tor-commits] [metrics-tasks/master] task-6329: Add the curl command to usage output for those who do not read README



commit a7bcab237396e0446cf269fd0c2343d4ea17a4e9
Author: delber <delber@xxxxxxxxxx>
Date:   Sat Jul 14 13:02:42 2012 +0000

    task-6329: Add the curl command to usage output for those who do not read README
---
 task-6329/tor-relays-stats.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/task-6329/tor-relays-stats.py b/task-6329/tor-relays-stats.py
index fd30792..5f6f633 100755
--- a/task-6329/tor-relays-stats.py
+++ b/task-6329/tor-relays-stats.py
@@ -108,6 +108,12 @@ Examples:
    %(progname)s top 5 Exit fr
  - To get weights of the top ten AS of all relays in Germany:
    %(progname)s as-sets 10 Running de
+
+This script expect to have a file called 'details.json' in the
+current directory. In order to retrieve the needed data, one
+can issue the following command:
+
+    curl -o details.json 'https://onionoo.torproject.org/details?type=relay&running=true'
 """ % { 'progname': sys.argv[0] }
     sys.exit(1)
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits