Skip to content

Commit

Permalink
fix typo in doc for region related command
Browse files Browse the repository at this point in the history
  • Loading branch information
wjo1212 committed Jan 23, 2018
1 parent d215bee commit 14f8a2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ There're three ways to configure the access key and endpoint and they're priorit
- Parameters

```shell
> aliyun log create_project ..... --access-id=<value> --access-key=<value> --endpoint=<value>
> aliyun log create_project ..... --access-id=<value> --access-key=<value> --region-endpoint=<value>
```

**Note:** Any sub command support such way to overwrite the AK setings in later ways (env or config file) for the specific operations.
Expand All @@ -132,7 +132,7 @@ There're three ways to configure the access key and endpoint and they're priorit
[main]
access-id=
access-key=
endpoint=
region-endpoint=
```

### Modify the configuration file
Expand All @@ -159,12 +159,12 @@ Use the command "configure" to modify the configuration file:
[main]
access-id=access_id1
access-key=access_key1
endpoint=cn-beijing.log.aliyuncs.com
region-endpoint=cn-beijing.log.aliyuncs.com

[test]
access-id=access_id2
access-key=access_key2
endpoint=cn-hangzhou.log.aliyuncs.com
region-endpoint=cn-hangzhou.log.aliyuncs.com
```

2. Use specific account
Expand Down
8 changes: 4 additions & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Python 2.6、2.7、3.3、3.4、3.5、3.6、PyPy和PyPy3。
- 参数

```shell
> aliyun log create_project ..... --access-id=<value> --access-key=<value> --endpoint=<value>
> aliyun log create_project ..... --access-id=<value> --access-key=<value> --region-endpoint=<value>
```

**注意:** 任意log子命令都支持以上方式定义特定的AK与Endpoint(覆盖后面的方式)
Expand All @@ -129,7 +129,7 @@ Python 2.6、2.7、3.3、3.4、3.5、3.6、PyPy和PyPy3。
[main]
access-id=
access-key=
endpoint=
region-endpoint=
```

<h2 id="修改配置文件">修改配置文件</h2>
Expand All @@ -155,12 +155,12 @@ Configure命令可以修改配置文件内容.
[main]
access-id=access_id1
access-key=access_key1
endpoint=cn-beijing.log.aliyuncs.com
region-endpoint=cn-beijing.log.aliyuncs.com

[test]
access-id=access_id2
access-key=access_key2
endpoint=cn-hangzhou.log.aliyuncs.com
region-endpoint=cn-hangzhou.log.aliyuncs.com
```

2. 使用特定账户
Expand Down

0 comments on commit 14f8a2f

Please sign in to comment.