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

[tor-commits] [compass/master] Added better help messages to command line options



commit d501a15cd159b00c6373dceee116e80920f15bd6
Author: Chris Wacek <cwacek@xxxxxxxxxxxxxxxxx>
Date:   Fri Dec 21 15:55:58 2012 -0500

    Added better help messages to command line options
---
 compass.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/compass.py b/compass.py
index 8e6c203..b83ee5f 100755
--- a/compass.py
+++ b/compass.py
@@ -446,6 +446,7 @@ def create_option_parser():
     group.add_option("--exit-filter",type="choice", dest="exit_filter",
                      choices=["fast_exits_only","almost_fast_exits_only",
                               "all_relays","fast_exits_only_any_network"],
+                              metavar="{fast_exits_only|almost_fast_exits_only|all_relays|fast_exits_only_any_network}",
                      default='all_relays')
     group.add_option("--fast-exits-only", action="store_true",
                      help="select only fast exits (%d+ Mbit/s, %d+ KB/s, %s, %d- per /24)" %
@@ -474,6 +475,7 @@ def create_option_parser():
     group.add_option("--sort", type="choice",
                      choices=["cw","adv_bw","p_guard","p_exit","p_middle",
                               "nick","fp"],
+                     metavar="{cw|adv_bw|p_guard|p_exit|p_middle|nick|fp}",
                      default="cw",
                      help="sort by this field")
     group.add_option("--sort_reverse", action="store_true", default=True, 



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