Skip to content

Commit 76a9898

Browse files
committed
Minor: Update README
1 parent 4e3fb20 commit 76a9898

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ install:
2121
script:
2222
- pyflakes bypy
2323
- echo "[disabled] python -m doctest -v bypy.py"
24-
- python -m coverage run -m bypy.test
24+
- echo "python -m coverage run -m bypy.test"
25+
- python -m coverage run -m bypy
2526
notifications:
2627
email:
2728
on_success: change # default: change

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,10 @@ sudo pip install requests
3535

3636
运行
3737
---
38-
- 作为独立程序
39-
- 运行 `bypy` (或者`python -m bypy`,或者`python3 -m bypy`
38+
- 作为独立程序: 运行 `bypy` (或者`python -m bypy`,或者`python3 -m bypy`
4039

4140
可以看到命令行支持的全部命令和参数。
42-
- 作为一个包,在代码中使用
43-
- `import bypy`
41+
- 作为一个包,在代码中使用: `import bypy`
4442

4543
简单的图形界面:
4644
运行 `bypygui`
@@ -54,7 +52,7 @@ sudo pip install requests
5452
bypy
5553
```
5654

57-
第一次运行时需要授权,只需跑任何一个命令(比如 `bypy.py info`)然后跟着说明(登陆等)来授权即可。授权只需一次,一旦成功,以后不会再出现授权提示.
55+
第一次运行时需要授权,只需跑任何一个命令(比如 `bypy info`)然后跟着说明(登陆等)来授权即可。授权只需一次,一旦成功,以后不会再出现授权提示.
5856

5957
更详细的了解某一个命令:
6058
```
@@ -89,7 +87,7 @@ bypy downdir /
8987
bypy compare
9088
```
9189

92-
更多命令和详细解释请见运行`bypy.py`的输出。
90+
更多命令和详细解释请见运行`bypy`的输出。
9391

9492
调试
9593
---
@@ -146,7 +144,7 @@ To get help and a list of available commands:
146144
bypy
147145
```
148146

149-
To authorize for first time use, run any commands e.g. `bypy.py info` and follow the instructiongs (login etc). This is a one-time requirement only.
147+
To authorize for first time use, run any commands e.g. `bypy info` and follow the instructions (login etc). This is a one-time requirement only.
150148

151149
To get more details about certain command:
152150
```
@@ -181,7 +179,7 @@ bypy downdir /
181179
bypy compare
182180
```
183181

184-
To get more information about the commands, check the output of `bypy.py`.
182+
To get more information about the commands, check the output of `bypy`.
185183

186184
Debug
187185
---
@@ -200,3 +198,4 @@ PCS API Document: http://developer.baidu.com/wiki/index.php?title=docs/pcs/rest/
200198
===
201199
Copyright 2015: Hou Tianze and contributors (see https://github.com/houtianze/bypy/graphs/contributors for more details)
202200
License: MIT
201+

README.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ API权限限制,程序只能存取百度云端\ ``/apps/bypy``\ 目录下面
4242
运行
4343
----
4444

45-
- 作为独立程序
46-
- 运行 ``bypy``
45+
- 作为独立程序: 运行 ``bypy``
4746
(或者``python -m bypy``\ ,或者\ ``python3 -m bypy``\
4847

49-
可以看到命令行支持的全部命令和参数。 - 作为一个包,在代码中使用 -
48+
可以看到命令行支持的全部命令和参数。 - 作为一个包,在代码中使用:
5049
``import bypy``
5150

5251
简单的图形界面: 运行 ``bypygui``
@@ -63,7 +62,7 @@ API权限限制,程序只能存取百度云端\ ``/apps/bypy``\ 目录下面
6362
bypy
6463

6564
第一次运行时需要授权,只需跑任何一个命令(比如
66-
``bypy.py info``\ )然后跟着说明(登陆等)来授权即可。授权只需一次,一旦成功,以后不会再出现授权提示.
65+
``bypy info``\ )然后跟着说明(登陆等)来授权即可。授权只需一次,一旦成功,以后不会再出现授权提示.
6766

6867
更详细的了解某一个命令:
6968

@@ -107,7 +106,7 @@ or
107106

108107
bypy compare
109108

110-
更多命令和详细解释请见运行\ ``bypy.py``\ 的输出。
109+
更多命令和详细解释请见运行\ ``bypy``\ 的输出。
111110

112111
调试
113112
----
@@ -177,8 +176,8 @@ To get help and a list of available commands:
177176

178177
bypy
179178

180-
To authorize for first time use, run any commands e.g. ``bypy.py info``
181-
and follow the instructiongs (login etc). This is a one-time requirement
179+
To authorize for first time use, run any commands e.g. ``bypy info`` and
180+
follow the instructions (login etc). This is a one-time requirement
182181
only.
183182

184183
To get more details about certain command:
@@ -225,7 +224,7 @@ PCS (which I think is very useful):**
225224
bypy compare
226225

227226
To get more information about the commands, check the output of
228-
``bypy.py``.
227+
``bypy``.
229228

230229
Debug
231230
-----

0 commit comments

Comments
 (0)