Procházet zdrojové kódy

typo (#213)

* typo

* typo

* typo

* typo
Stefan Zweig před 7 měsíci
rodič
revize
f71b66f9ea

+ 1 - 1
manual/configuration_option.md

@@ -487,7 +487,7 @@ option("test")
 We can also get the output bound to the option through `is_config`.
 
 ```lua
-if is_config("test", "8") tben
+if is_config("test", "8") then
      - xxx
 end
 ```

+ 2 - 2
mirror/manual/configuration_option.html

@@ -450,7 +450,7 @@ target("test")
 </code></pre>
 <p>!> Set to capture output, the current option cannot set other snippets</p>
 <p>We can also get the output bound to the option through <code>is_config</code>.</p>
-<pre><code class="lang-lua">if is_config("test", "8") tben
+<pre><code class="lang-lua">if is_config("test", "8") then
      - xxx
 end
 </code></pre>
@@ -482,4 +482,4 @@ sigsetjmp{int a = 0; sigsetjmp((void*)a, a);}
 <p>The usage is consistent with <a href="#optionadd_cxxfuncs">option:add_cfuncs</a>.</p>
 </article>
 </body>
-</html>
+</html>

+ 2 - 2
mirror/zh-cn/manual/configuration_option.html

@@ -449,7 +449,7 @@ target("test")
 </code></pre>
 <p>!> 设置为捕获输出,当前 option 不能再设置其他 snippets</p>
 <p>我们也可以通过 <code>is_config</code> 获取绑定到option的输出。</p>
-<pre><code class="lang-lua">if is_config("test", "8") tben
+<pre><code class="lang-lua">if is_config("test", "8") then
     -- xxx
 end
 </code></pre>
@@ -481,4 +481,4 @@ sigsetjmp{int a = 0; sigsetjmp((void*)a, a);}
 <p>用法跟 <a href="#optionadd_cxxfuncs">option:add_cfuncs</a> 一致。</p>
 </article>
 </body>
-</html>
+</html>

+ 1 - 1
zh-cn/manual/configuration_option.md

@@ -486,7 +486,7 @@ option("test")
 我们也可以通过 `is_config` 获取绑定到option的输出。
 
 ```lua
-if is_config("test", "8") tben
+if is_config("test", "8") then
     -- xxx
 end
 ```