diff options
| author | ruki <waruqi@gmail.com> | 2019-04-24 22:37:15 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2019-04-24 09:43:31 +0800 |
| commit | 56f050281e278de8a72d15546e4600f6cdacb338 (patch) | |
| tree | ac1436f0d2aa5f6f8f80aa4af2f07858c51abd8e | |
| parent | 78ad4a402ef3ba176e799e69b2b06dcdc86944b5 (diff) | |
| download | xmake-docs-56f050281e278de8a72d15546e4600f6cdacb338.tar.gz xmake-docs-56f050281e278de8a72d15546e4600f6cdacb338.zip | |
fix some errors for manual again
| -rw-r--r-- | manual.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |
