Fix some usage messages

This commit is contained in:
Luck 2017-01-24 21:48:47 +00:00
parent 599072eef6
commit 81c71777cb
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ import java.util.UUID;
public class CheckCommand extends SingleCommand { public class CheckCommand extends SingleCommand {
public CheckCommand() { public CheckCommand() {
super("Check", "Perform a standard permission check on an online player", super("Check", "Perform a standard permission check on an online player",
"/%s search <user> <permission>", Permission.CHECK, Predicates.not(2), "/%s check <user> <permission>", Permission.CHECK, Predicates.not(2),
Arg.list( Arg.list(
Arg.create("user", true, "the user to check"), Arg.create("user", true, "the user to check"),
Arg.create("permission", true, "the permission to check for") Arg.create("permission", true, "the permission to check for")

View File

@ -40,7 +40,7 @@ public class VerboseCommand extends SingleCommand {
public VerboseCommand() { public VerboseCommand() {
super("Verbose", "Manage verbose permission checking", "/%s verbose <true|false> [filter]", Permission.VERBOSE, Predicates.is(0), super("Verbose", "Manage verbose permission checking", "/%s verbose <true|false> [filter]", Permission.VERBOSE, Predicates.is(0),
Arg.list( Arg.list(
Arg.create("true|false|record|paste", true, "whether to enable/disable logging, or start/stop recording"), Arg.create("on|record|off|paste", true, "whether to enable/disable logging, or to paste the logged output"),
Arg.create("filter", false, "the filter to match entries against") Arg.create("filter", false, "the filter to match entries against")
) )
); );