Fix number of args for migratedb command.

This commit is contained in:
Wizjany 2013-12-14 17:21:07 -05:00
parent 96a69aa2ef
commit ffda88f193

View File

@ -1170,7 +1170,7 @@ public void save(CommandContext args, CommandSender sender) throws CommandExcept
* @throws CommandException any error
*/
@Command(aliases = {"migratedb"}, usage = "<from> <to>",
desc = "Migrate from one Protection Database to another.", min = 1)
desc = "Migrate from one Protection Database to another.", min = 2, max = 2)
public void migrateDB(CommandContext args, CommandSender sender) throws CommandException {
// Check permissions
if (!getPermissionModel(sender).mayMigrateRegionStore()) {