summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorruki <[email protected]>2017-03-14 17:57:01 +0800
committerruki <[email protected]>2017-03-14 17:57:01 +0800
commit5d916b633b2a482aa5d63435190636ee435051ec (patch)
treeef712d6a807c59fde7bcc31ee2ff15f77d2da2f6 /docs
parent5749c784b22bd71490b4219e8eebab9f4927700e (diff)
fix some doc errors
Diffstat (limited to 'docs')
-rw-r--r--docs/README.md6
-rwxr-xr-xdocs/zh/README.md3
2 files changed, 4 insertions, 5 deletions
diff --git a/docs/README.md b/docs/README.md
index d235a93a9..54c72d0f2 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -138,13 +138,13 @@ hello`main:
## Configuration
Set compilation configuration before building project with command `xmake f|config`.
+
And if you want to known more options, please run: `xmake f --help`。
<p class="tip">
You can use short or long command option, for exmaple: <br>
`xmake f` or `xmake config`.<br>
- `xmake f -p linux` or `xmake config --plat=linux`.<br>
- `xmake f -p linux -a i386` or `xmake config --plat=linux --arch=i386`.
+ `xmake f -p linux` or `xmake config --plat=linux`.
</p>
#### Target Platforms
@@ -249,7 +249,7 @@ $ xmake
| [--rc-ld](#-rc-ld) | Set `rust` linker |
| [--rc-sh](#-rc-sh) | Set `rust` shared library linker |
| [--rc-ar](#-rc-ar) | Set `rust` static library archiver |
-| [--asflags](#-asflags) | Set `asm`汇编 compiler option |
+| [--asflags](#-asflags) | Set `asm` assembler option |
| [--cflags](#-cflags) | Set `c` compiler option |
| [--cxflags](#-cxflags) | Set `c/c++` compiler option |
| [--cxxflags](#-cxxflags) | Set `c++` compiler option |
diff --git a/docs/zh/README.md b/docs/zh/README.md
index 03455e8d3..7e10bd0c6 100755
--- a/docs/zh/README.md
+++ b/docs/zh/README.md
@@ -149,8 +149,7 @@ hello`main:
<p class="tip">
你可以使用命令行缩写来简化输入,也可以使用全名,例如: <br>
`xmake f` 或者 `xmake config`.<br>
- `xmake f -p linux` 或者 `xmake config --plat=linux`.<br>
- `xmake f -p linux -a i386` 或者 `xmake config --plat=linux --arch=i386`
+ `xmake f -p linux` 或者 `xmake config --plat=linux`.
</p>
#### 目标平台