[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Merge branch 'ticket27916_no_print_default'
commit c586dc1e89ba4d69afd10a45bf0ea9cc3bd615d9
Merge: 63c6649 4b65520
Author: juga0 <juga@xxxxxxxxxx>
Date: Mon Oct 8 07:56:57 2018 +0000
Merge branch 'ticket27916_no_print_default'
sbws/core/generate.py | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --cc sbws/core/generate.py
index f00852f,d82b6fe..0a68cbf
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@@ -48,17 -47,16 +47,16 @@@ def gen_parser(sub)
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,
+ p.add_argument('-p', '--secs-recent', default=None, type=int,
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,
+ p.add_argument('-a', '--secs-away', default=DAY_SECS, type=int,
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,
+ p.add_argument('-n', '--min-num', default=NUM_MIN_RESULTS, type=int,
- 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