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

juga at torproject.org juga at torproject.org
Wed Oct 24 09:40:23 UTC 2018


commit 199c92747068bd45184dddfab3d07b4ed2acb45f
Author: juga0 <juga at riseup.net>
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):





More information about the tor-commits mailing list