@Override
    public boolean execute(CommandSender sender, String[] args) {
        if (args.length == 2) {
            PermissionGroup pg;
            try {
                pg = plugin.getDataManager().getGroup(args[1]);
            } catch (DataLoadFailedException ex) {
                plugin.getLogger().log(Level.SEVERE, "An error occured on loading " + args[0], ex);
                sender.sendMessage(ChatColor.RED + "An error occured on loading " + args[0]);
                return true;
            }
            sender.sendMessage(ChatColor.YELLOW + "Group: " + pg.getName());
            String prefix = (String) pg.getOptions().get("prefix");
            if (prefix == null) {
                prefix = "";
            }
            String suffix = (String) pg.getOptions().get("suffix");
            if (suffix == null) {
                suffix = "";
            }
            sender.sendMessage(ChatColor.YELLOW + "Inheritence: " + pg.getInheritence());
            sender.sendMessage(ChatColor.YELLOW + "Prefix: " + prefix);
            sender.sendMessage(ChatColor.YELLOW + "Suffix: " + suffix);

            return true;
        } else if (args.length == 1) {
            try {
                sender.sendMessage(ChatColor.YELLOW + "Group list: " + plugin.getDataManager().getGroups());
            } catch (DataLoadFailedException ex) {
                sender.sendMessage(ChatColor.RED + "An error occured on loading group list");
                plugin.getLogger().log(Level.SEVERE, "An error occured on loading group list", ex);
            }
            return true;
        }
        return false;
    }