[tor-commits] [arm/release] Interpretor help for EXTENDCIRCUIT

atagar at torproject.org atagar at torproject.org
Sun Sep 25 21:38:30 UTC 2011


commit 8e416a54b760b2b3b4b3e96079e29e1b6e427729
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Sep 19 08:37:11 2011 -0700

    Interpretor help for EXTENDCIRCUIT
    
    Kinda guessing at what "ServerSpec" means, hopefully I'm right.
---
 src/util/torInterpretor.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/util/torInterpretor.py b/src/util/torInterpretor.py
index 9c08f06..fd8d5d7 100644
--- a/src/util/torInterpretor.py
+++ b/src/util/torInterpretor.py
@@ -173,6 +173,10 @@ Example:
 
 HELP_POSTDESCRIPTOR = """Simulates getting a new relay descriptor."""
 
+HELP_EXTENDCIRCUIT = """Extends the given circuit or create a new one if the CircuitID is zero. The
+PATH is a comma separated list of fingerprints. If it isn't set then this
+uses Tor's normal path selection."""
+
 HELP_OPTIONS = {
   "HELP": ("/help [OPTION]", HELP_HELP),
   "WRITE": ("/write [PATH]", HELP_WRITE),
@@ -190,6 +194,7 @@ HELP_OPTIONS = {
   "LOADCONF": ("LOADCONF...", HELP_LOADCONF),
   "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),
 }
 
 class InterpretorClosed(Exception):





More information about the tor-commits mailing list