@@ -115,11 +115,14 @@ static OptionParser run(String[] args, boolean getParser) throws Exception {
115115 "File to write extended output data to. Not compatible with bulk operations." )
116116 .withRequiredArg ().ofType (File .class );
117117
118+ var debugO = parser .accepts ("debug" , "Sets the log level to DEBUG" );
119+
118120 var shorthandOptions = new HashMap <String , OptionSpecBuilder >();
119121 var artifacts = Map .of (
120122 "forge" , Constants .FORGE_ARTIFACT ,
121123 "fml" , Constants .FMLONLY_ARTIFACT ,
122124 "mc" , "net.minecraft:joined" ,
125+ "joined" , "net.minecraft:joined" ,
123126 "client" , "net.minecraft:client" ,
124127 "server" , "net.minecraft:server" ,
125128 "mapping-data" , "net.minecraft:mappings"
@@ -153,6 +156,8 @@ static OptionParser run(String[] args, boolean getParser) throws Exception {
153156 }
154157
155158 // global options
159+ if (options .has (debugO ))
160+ LOGGER .setEnabled (Logger .Level .DEBUG );
156161 if (options .has (offlineO ))
157162 Mavenizer .setOffline ();
158163 if (options .has (cacheOnlyO ))
0 commit comments