mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed issue in CommandsManager printing usage incorrectly.
This commit is contained in:
parent
11b00e1165
commit
016a3ddd5b
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user