Browse Source

modify readme

ruki 8 years ago
parent
commit
7b800c9514
2 changed files with 17 additions and 5 deletions
  1. 8 3
      README.md
  2. 9 2
      zh/README.md

+ 8 - 3
README.md

@@ -254,7 +254,7 @@ hello`main:
 
 ## Project Examples
 
-#### Executale Program
+#### Executable Program
 
 ```lua
 target("test")
@@ -673,8 +673,7 @@ If it fails again, please add `-v` or `--verbose` options to get more verbose in
 For exmaple: 
 
 ```hash
-$ xmake -v 
-$ xmake --verbose
+$ xmake [-v|--verbose] 
 ```
 
 And add `--backtrace` to get the verbose backtrace info, then you can submit these infos to [issues](https://github.com/tboox/xmake/issues).
@@ -683,6 +682,12 @@ And add `--backtrace` to get the verbose backtrace info, then you can submit the
 $ xmake -v --backtrace
 ```
 
+#### How to see verbose compiling warnings and arguments?
+
+```bash
+$ xmake [-v|--verbose] 
+```
+
 ## Backers
 
 Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/xmake#backer)]

+ 9 - 2
zh/README.md

@@ -728,8 +728,7 @@ $ xmake
 例如:
 
 ```hash
-$ xmake -v 
-$ xmake --verbose
+$ xmake [-v|--verbose] 
 ```
 
 并且可以加上 `--backtrace` 选项获取出错时的xmake的调试栈信息, 然后你可以提交这些信息到[issues](https://github.com/tboox/xmake/issues).
@@ -738,6 +737,14 @@ $ xmake --verbose
 $ xmake -v --backtrace
 ```
 
+#### 怎样看实时编译警告和详细的编译参数?
+
+加上`-v`选项启用详细输出就行了。
+
+```bash
+$ xmake [-v|--verbose] 
+```
+
 ## 支持项目
 
 xmake项目属于个人开源项目,它的发展需要您的帮助,如果您愿意支持xmake项目的开发,欢迎为其捐赠,支持它的发展。 🙏 [[支持此项目](https://opencollective.com/xmake#backer)]