[tor-commits] [arm/master] Interpretor help for SETCIRCUITPURPOSE

atagar at torproject.org atagar at torproject.org
Mon Sep 19 17:01:05 UTC 2011


commit 236d7521154721258fd4d4a925b579f34200b511
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Sep 19 08:42:59 2011 -0700

    Interpretor help for SETCIRCUITPURPOSE
    
    Just a basic description.
---
 src/util/torInterpretor.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/util/torInterpretor.py b/src/util/torInterpretor.py
index fd8d5d7..3beef9d 100644
--- a/src/util/torInterpretor.py
+++ b/src/util/torInterpretor.py
@@ -177,6 +177,8 @@ HELP_EXTENDCIRCUIT = """Extends the given circuit or create a new one if the Cir
 PATH is a comma separated list of fingerprints. If it isn't set then this
 uses Tor's normal path selection."""
 
+HELP_SETCIRCUITPURPOSE = """Sets the purpose attribute for a circuit."""
+
 HELP_OPTIONS = {
   "HELP": ("/help [OPTION]", HELP_HELP),
   "WRITE": ("/write [PATH]", HELP_WRITE),
@@ -195,6 +197,7 @@ HELP_OPTIONS = {
   "MAPADDRESS": ("MAPADDRESS SOURCE_ADDR=DESTINATION_ADDR", HELP_MAPADDRESS),
   "POSTDESCRIPTOR": ("POSTDESCRIPTOR [purpose=general/controller/bridge] [cache=yes/no]...", HELP_POSTDESCRIPTOR),
   "EXTENDCIRCUIT": ("EXTENDCIRCUIT CircuitID [PATH] [purpose=general/controller]", HELP_EXTENDCIRCUIT),
+  "SETCIRCUITPURPOSE": ("SETCIRCUITPURPOSE CircuitID purpose=general/controller", HELP_SETCIRCUITPURPOSE),
 }
 
 class InterpretorClosed(Exception):





More information about the tor-commits mailing list