[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Do not include defaults in string args
commit 4b655208cf77c6baa62c9929a5d049df47939dee
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Oct 2 23:54:44 2018 +0000
Do not include defaults in string args
---
sbws/core/generate.py | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index 6d91690..d82b6fe 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -43,22 +43,20 @@ def gen_parser(sub):
'are, but scale them in the way Torflow does.')
p.add_argument('-m', '--torflow-bw-margin', default=TORFLOW_BW_MARGIN,
type=float,
- help="Cap maximum bw when scaling as Torflow. "
- "(Default: 0.05)")
+ help="Cap maximum bw when scaling as Torflow. ")
p.add_argument('-r', '--torflow-round-digs', default=TORFLOW_ROUND_DIG,
type=int,
help="Number of most significant digits to round bw "
- "when scaling as Torflow. (Default: 3)")
+ "when scaling as Torflow.")
p.add_argument('-p', '--secs-recent', default=None,
help="How many secs in the past are results being "
"still considered. Note this value will supersede "
- "data_period in the configuration. (Default: None)")
+ "data_period in the configuration.")
p.add_argument('-a', '--secs-away', default=DAY_SECS,
help="How many secs results have to be away from each "
- "other. (Default: 86400 - one day -)")
+ "other.")
p.add_argument('-n', '--min-num', default=NUM_MIN_RESULTS,
- help="Mininum number of a results to consider them."
- "(Default: 2)")
+ help="Mininum number of a results to consider them.")
def main(args, conf):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits