Skip to content

Commit

Permalink
Fix(command.usage): Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonPrefect committed Dec 12, 2022
1 parent 67e263d commit 1a05744
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion commands/hash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default await new Command()
.description("Calculate local file's hash-code or show cos file's hash-code")
.example(
"hash for `example.file' in test/ of bucket `example'",
"./peg hash cos://example/test/example.file"
"./peg hash doge://example/test/example.file"
)
.option("-s, --sign-url", "Generate hash with OSS signed URL, CHARGED")
.arguments("<location:string>")
Expand Down
2 changes: 1 addition & 1 deletion commands/ls.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** 查询存储桶或文件列表 - ls
* ./coscli ls [cos://bucketAlias[/prefix/]] [flag]
* ./coscli ls [doge://bucketAlias[/prefix/]] [flag]
* https://cloud.tencent.com/document/product/436/63668
*/
import { Command } from "https://deno.land/x/[email protected]/command/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion commands/mb.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** 创建存储桶 - mb
* ./coscli mb cos://<BucketName-APPID> -r <Region> [flag]
* ./coscli mb doge://<BucketName-APPID> -r <Region> [flag]
* https://cloud.tencent.com/document/product/436/63145
*/
import { Command, EnumType } from "https://deno.land/x/[email protected]/command/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion commands/rb.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** 删除存储桶 - rb
* ./coscli rb cos://<BucketName-APPID> -r <Region> [flag]
* ./coscli rb doge://<BucketName-APPID> -r <Region> [flag]
* https://cloud.tencent.com/document/product/436/63667
*/
import { Command, EnumType } from "https://deno.land/x/[email protected]/command/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion commands/rm.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** 删除文件 - rm
* ./coscli rm cos://<bucketAlias>[/prefix/] [cos://<bucket-name>[/prefix/]...] [flag]
* ./coscli rm doge://<bucketAlias>[/prefix/] [doge://<bucket-name>[/prefix/]...] [flag]
* https://www.tencentcloud.com/zh/document/product/436/43258
*/
import { Command } from "https://deno.land/x/[email protected]/command/mod.ts";
Expand Down
2 changes: 1 addition & 1 deletion commands/signurl.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** 获取预签名 URL - signurl
* ./coscli signurl cos://<bucketAlias>/<key> [flag]
* ./coscli signurl doge://<bucketAlias>/<key> [flag]
* https://tencentcloud.com/zh/document/product/436/43263
*/
import { Command } from "https://deno.land/x/[email protected]/command/mod.ts";
Expand Down

0 comments on commit 1a05744

Please sign in to comment.