Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgazul committed Sep 2, 2024
1 parent 8b15e4d commit cae282f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder
import org.objectweb.asm.ClassReader

plugins {
id 'org.ajoberstar.grgit' version '3.1.1'
id 'org.ajoberstar.grgit' version '4.1.1'
id 'de.undercouch.download' version '3.3.0'
id 'com.github.ben-manes.versions' version '0.22.0'
id 'eclipse'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/bukkit/craftbukkit/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public static OptionSet main(String[] args) {
Logger.getLogger(Main.class.getName()).log(Level.SEVERE, ex.getLocalizedMessage());
}

if ((options == null) || (options.has("?"))) {
if ((options == null) || (options.has("?") || (options.has("help"))) {
try {
parser.printHelpOn(System.out);
} catch (IOException ex) {
Expand Down

0 comments on commit cae282f

Please sign in to comment.