From 5d916b633b2a482aa5d63435190636ee435051ec Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 14 Mar 2017 17:57:01 +0800 Subject: fix some doc errors --- docs/README.md | 6 +++--- docs/zh/README.md | 3 +-- 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`。

You can use short or long command option, for exmaple:
`xmake f` or `xmake config`.
- `xmake f -p linux` or `xmake config --plat=linux`.
- `xmake f -p linux -a i386` or `xmake config --plat=linux --arch=i386`. + `xmake f -p linux` or `xmake config --plat=linux`.

#### 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:

你可以使用命令行缩写来简化输入,也可以使用全名,例如:
`xmake f` 或者 `xmake config`.
- `xmake f -p linux` 或者 `xmake config --plat=linux`.
- `xmake f -p linux -a i386` 或者 `xmake config --plat=linux --arch=i386` + `xmake f -p linux` 或者 `xmake config --plat=linux`.

#### 目标平台 -- cgit v1.3.1