Browse Source

document the new functionality that crept in:
RESETCONF exitpolicy=foo
is equivalent to
SETCONF exitpolicy=foo
unless foo is a linelist with a non-null default (we don't have any
of those currently), in which it appends to the default rather than
replacing.


svn:r5047

Roger Dingledine 20 years ago
parent
commit
ec9ef0da3b
1 changed files with 5 additions and 3 deletions
  1. 5 3
      doc/control-spec.txt

+ 5 - 3
doc/control-spec.txt

@@ -128,10 +128,12 @@ $Id$
 
 
 3.2. RESETCONF
 3.2. RESETCONF
 
 
-  Remove all settings for a given configuration option entirely, and go
-  back to its default value.  The syntax is:
+  Remove all settings for a given configuration option entirely, assign
+  its default value (if any), and then assign the String provided.
+  Typically the String is left empty, to simply set an option back to
+  its default. The syntax is:
 
 
-    "RESETCONF" 1*(SP keyword) CRLF
+    "RESETCONF" 1*(SP keyword ["=" String]) CRLF
 
 
   Otherwise it behaves like SETCONF above.
   Otherwise it behaves like SETCONF above.