Skip to content

Commit

Permalink
Merge pull request #223 from smoogipoo/fix-exit-code
Browse files Browse the repository at this point in the history
Fix exit code on unknown argument
  • Loading branch information
peppy committed Sep 5, 2023
2 parents 53a2820 + 9b406b7 commit caf2568
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 caf2568

Please sign in to comment.