浏览代码

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.