Fixed issue in CommandsManager printing usage incorrectly.

This commit is contained in:
sk89q 2011-01-30 00:35:46 -08:00
parent 11b00e1165
commit 016a3ddd5b

View File

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