Skip to content

Commit af3b434

Browse files
Add a missing command to the command usage (kyuridenamida#175)
* Fix command usage message by adding a missing command and change sentences * apply autopep8
1 parent d5fffaa commit af3b434

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

atcodertools/atcoder_tools.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ def main():
4343
if len(sys.argv) < 2 or sys.argv[1] not in ("gen", "test", "submit", "codegen", "set", "version", "compile"):
4444
print("Usage:")
4545
print("{} gen -- to generate workspace".format(sys.argv[0]))
46-
print("{} test -- to test codes in your workspace".format(sys.argv[0]))
4746
print(
48-
"{} submit -- to submit a code to the contest system".format(sys.argv[0]))
47+
"{} codegen -- to generate code of the specified single problem".format(sys.argv[0]))
48+
print(
49+
"{} test -- to test your code in the workspace".format(sys.argv[0]))
50+
print(
51+
"{} submit -- to submit your code to the contest system".format(sys.argv[0]))
4952
print(
5053
"{} version -- show atcoder-tools version".format(sys.argv[0]))
5154
print(
@@ -78,3 +81,7 @@ def main():
7881

7982
if sys.argv[1] == "version":
8083
print(__version__)
84+
85+
86+
if __name__ == "__main__":
87+
main()

0 commit comments

Comments
 (0)