Преглед на файлове

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 години
родител
ревизия
ec9ef0da3b
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      doc/control-spec.txt

+ 5 - 3
doc/control-spec.txt

@@ -128,10 +128,12 @@ $Id$
 
 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.