Fixed issue in CommandsManager printing usage incorrectly.

Dieser Commit ist enthalten in:
sk89q 2011-01-30 00:35:46 -08:00
Ursprung 11b00e1165
Commit 016a3ddd5b

Datei anzeigen

@ -104,7 +104,7 @@ public class CommandsManager {
*/ */
private String getUsage(String command, Command cmd) { private String getUsage(String command, Command cmd) {
return command return command
+ (cmd.flags().length() > 0 ? " [-" + cmd.flags() + "]" : " ") + (cmd.flags().length() > 0 ? " [-" + cmd.flags() + "] " : " ")
+ cmd.usage(); + cmd.usage();
} }