Skip to content

Commit 3c12b5d

Browse files
committed
chore: Update usage docs for cf-run
1 parent c4bdd0b commit 3c12b5d

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,22 @@ pip install -e .
4848
### Using `cf-run`
4949

5050
```shell
51-
cf-run [contestId] [index] [program]
51+
usage: cf-run [-h] [-t TIMEOUT] [-g] contestId index program
52+
53+
positional arguments:
54+
contestId Id of the contest. It is not the round number. It can
55+
be seen in contest URL.
56+
index A letter or a letter followed by a digit, that
57+
represent a problem index in a contest.
58+
program Path to executable that needs to be tested
59+
60+
optional arguments:
61+
-h, --help show this help message and exit
62+
-t TIMEOUT, --timeout TIMEOUT
63+
Timeout for program in seconds, -1 for no time limit
64+
(default: 10)
65+
-g, --gym If true open gym contest instead of regular contest.
66+
(default: false)
5267
```
5368
5469
Example:

0 commit comments

Comments
 (0)