Skip to content

Commit

Permalink
(fix) use _ instead of -
Browse files Browse the repository at this point in the history
  • Loading branch information
xsun2001 committed Jan 20, 2022
1 parent 65677d4 commit a330c16
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package_dir =
packages =
adapter
core
judger-cli
judger_cli
python_requires = >=3.7

[options.packages.find]
Expand All @@ -31,5 +31,5 @@ exclude =

[options.entry_points]
console_scripts =
judger_cli = judger-cli.cli:main
judger_cli = judger_cli.cli:main
judger_adapter = adapter.main:main
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/judger-cli/cli.py → src/judger_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def main():
parser = argparse.ArgumentParser(prog="judger-cli", description="CLI for SaibloLocalJudger Core")
parser = argparse.ArgumentParser(prog="judger_cli", description="CLI for SaibloLocalJudger Core")
parser.add_argument("--port", type=int, help="Tcp server listening port. Default port is random.", default=0)
parser.add_argument("--playerCount", type=int, help="Required. Count of players to start a game.")
parser.add_argument("--configFile", type=str, help="Game config file.")
Expand Down

0 comments on commit a330c16

Please sign in to comment.