Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xalanq committed Sep 8, 2019
1 parent 99a6fc5 commit e6fd022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ To start competing the contest 1136! The id 1136 can be found in the contest URL

e.g. <https://codeforces.com/contest/1136>

If the contest has not started yet, `cf` will count down. If the contest have started or the countdown ends, `cf` will use the default browser to open all problems' page and fetch all samples to the local.
If the contest has not started yet, `cf` will count down. If the contest have started or the countdown ends, `cf` will use the default browser to open dashboard's page and problems' page, and fetch all samples to the local.

`cd 1136/a`

Expand Down Expand Up @@ -129,7 +129,7 @@ Examples:
cf sid 52531875 Use default web browser to open the submission 52531875's page.
cf sid Open the last submission's page.
cf race 1136 If the contest 1136 has not started yet, it will countdown. When the
countdown ends, it will open all problems' pages and parse samples.
countdown ends, it will open dashboard and problems' pages, and parse samples.
cf pull 100 Pull all problems' latest codes of contest 100 into "./100/<problem-id>".
cf pull 100 a Pull the latest code of problem "a" of contest 100 into "./100/<problem-id>".
cf pull ac 100 a Pull the "Accepted" or "Pretests passed" code of problem "a" of contest 100.
Expand Down
4 changes: 2 additions & 2 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $ go build -ldflags "-s -w" cf.go

要开始打 1136 这场比赛了!其中 1136 可以从比赛的链接获取,比方说这个例子的比赛链接就为<https://codeforces.com/contest/1136>

如果比赛还未开始,则该命令会进行倒计时。比赛已开始或倒计时完后,工具会自动用默认浏览器打开比赛的所有题目页面,并拉取样例到本地。
如果比赛还未开始,则该命令会进行倒计时。比赛已开始或倒计时完后,工具会自动用默认浏览器打开比赛的题目界面与所有题目页面,并拉取样例到本地。

`cd 1136/a`

Expand Down Expand Up @@ -125,7 +125,7 @@ $ go build -ldflags "-s -w" cf.go
cf stand 用默认的浏览器打开当前比赛的榜单。
cf sid 52531875 用默认的浏览器打开 52531875 这个提交页面。
cf sid 打开最后一次提交的页面。
cf race 1136 如果比赛还未开始且进入倒计时,则该命令会倒计时。倒计时完后,会自动打开所有
cf race 1136 如果比赛还未开始且进入倒计时,则该命令会倒计时。倒计时完后,会自动打开一些
题目页面并拉取样例。
cf pull 100 拉取比赛 id 为 100 每道题的最新代码到文件夹 "./100/<problem-id>" 下。
cf pull 100 a 拉取比赛 id 为 100 的题目 a 的最新代码到文件夹 "./100/a" 下。
Expand Down

0 comments on commit e6fd022

Please sign in to comment.