aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-04-24 22:37:15 +0800
committerruki <waruqi@gmail.com>2019-04-24 09:43:31 +0800
commit56f050281e278de8a72d15546e4600f6cdacb338 (patch)
treeac1436f0d2aa5f6f8f80aa4af2f07858c51abd8e
parent78ad4a402ef3ba176e799e69b2b06dcdc86944b5 (diff)
downloadxmake-docs-56f050281e278de8a72d15546e4600f6cdacb338.tar.gz
xmake-docs-56f050281e278de8a72d15546e4600f6cdacb338.zip
fix some errors for manual again
-rw-r--r--manual.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/manual.md b/manual.md
index 7246f1f4..c5a18c16 100644
--- a/manual.md
+++ b/manual.md
@@ -3331,10 +3331,10 @@ option("test")
set_default("value")
```
-| Value Type | Description | Configuration |
-| ------ | -------------------------------------- | -----------------------------------------------|
-Boolean | Typically used as a parameter switch, value range: `true/false` | `xmake f --optionname=[y/n/yes/no/true/false]` |
-| string | can be any string, generally used for pattern judgment | `xmake f --optionname=value` |
+| Value Type | Description | Configuration |
+| ------ | -------------------------------------- | ----------------------------------------------- |
+| boolean | Typically used as a parameter switch, value range: `true/false` | `xmake f --optionname=[y/n/yes/no/true/false]` |
+| string | can be any string, generally used for pattern judgment | `xmake f --optionname=value` |
If it is an option of the `boolean` value, it can be judged by [is_option](#is_option), and the option is enabled.
@@ -3362,11 +3362,11 @@ Specify a different source directory path for this `rootdir` option and compile
Detection behavior of the option:
| default value | detection behavior |
-| ---------- | --------------------------------------------------------------------------------------------- |
-| No setting | Priority manual configuration modification, disabled by default, otherwise automatic detection, can automatically switch boolean and string type according to the type of value manually passed in |
-| false | switch option, not automatic detection, disabled by default, can be manually configured to modify |
-| true | switch option, not automatic detection, enabled by default, can be manually configured to modify |
-| string type | no switch state, no automatic detection, can be manually configured and modified, generally used for configuration variable transfer |
+| ---------- | --------------------------------------------------------------------------------------------- |
+| No setting | Priority manual configuration modification, disabled by default, otherwise automatic detection, can automatically switch boolean and string type according to the type of value manually passed in |
+| false | switch option, not automatic detection, disabled by default, can be manually configured to modify |
+| true | switch option, not automatic detection, enabled by default, can be manually configured to modify |
+| string type | no switch state, no automatic detection, can be manually configured and modified, generally used for configuration variable transfer |
##### option:set_showmenu