Skip to content

Commit

Permalink
remove unused threads commandline options
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed May 7, 2024
1 parent c1cce5c commit 7bed0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packaging/systemd/wesnothd.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ After=network.target
# Deleting the pipe resets owner, group and mode
ExecStartPre=/bin/rm -f @FIFO_DIR@/socket

ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/wesnothd@BINARY_SUFFIX@ -t 2 -T 5
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/wesnothd@BINARY_SUFFIX@
# You can use -c to specify the same configuration file
# which is used when starting wesnothd from within the wesnoth UI
# e.g. -c /home/user/.local/share/wesnoth/1.14/lan_server.cfg
Expand Down
2 changes: 1 addition & 1 deletion src/server/wesnothd/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3049,7 +3049,7 @@ int main(int argc, char** argv)
keep_alive = true;
} else if(val == "--help" || val == "-h") {
std::cout << "usage: " << argv[0]
<< " [-dvV] [-c path] [-m n] [-p port] [-t n]\n"
<< " [-dvV] [-c path] [-m n] [-p port]\n"
<< " -c, --config <path> Tells wesnothd where to find the config file to use.\n"
<< " -d, --daemon Runs wesnothd as a daemon.\n"
<< " -h, --help Shows this usage message.\n"
Expand Down

0 comments on commit 7bed0a1

Please sign in to comment.