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

[tor-commits] [sbws/master] Add cli arg to rm the bw file link



commit 199c92747068bd45184dddfab3d07b4ed2acb45f
Author: juga0 <juga@xxxxxxxxxx>
Date:   Thu Oct 18 21:47:34 2018 +0000

    Add cli arg to rm the bw file link
---
 sbws/core/generate.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index 885569a..f147993 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -61,6 +61,9 @@ def gen_parser(sub):
                         "other.")
     p.add_argument('-n', '--min-num', default=NUM_MIN_RESULTS, type=int,
                    help="Mininum number of a results to consider them.")
+    p.add_argument('-l', '--rm-link', action='store_true',
+                   help='If specified, remove latest.v3bw link when there '
+                        'are no relays to include in it.')
 
 
 def main(args, conf):



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