Skip to content

Commit

Permalink
Fix exit code on unknown argument
Browse files Browse the repository at this point in the history
  • Loading branch information
smoogipoo committed Sep 5, 2023
1 parent 53a2820 commit 9b406b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osu.Server.DifficultyCalculator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ namespace osu.Server.DifficultyCalculator
[Subcommand(typeof(BeatmapsStringCommand))]
public class Program
{
public static void Main(string[] args)
public static int Main(string[] args)
{
LegacyDifficultyCalculatorBeatmapDecoder.Register();
ServicePointManager.DefaultConnectionLimit = 128;

CommandLineApplication.Execute<Program>(args);
return CommandLineApplication.Execute<Program>(args);
}

public int OnExecute(CommandLineApplication app)
Expand Down

0 comments on commit 9b406b7

Please sign in to comment.