<commit_before>package net.ripe.db.whois.query.executor;

import com.google.common.collect.Sets;
import net.ripe.db.whois.query.domain.MessageObject;
import net.ripe.db.whois.query.domain.ResponseHandler;
import net.ripe.db.whois.query.query.Query;
import net.ripe.db.whois.query.query.QueryFlag;
import org.springframework.stereotype.Component;

import java.util.Set;

import static net.ripe.db.whois.common.FormatHelper.prettyPrint;

@Component
public class HelpQueryExecutor implements QueryExecutor {
    private static final int MAX_LINE_LENGTH = 80;
    private static final int IND_1 = 6;
    private static final int IND_2 = 12;

    private static final MessageObject HELP_RESPONSE;

    static final Set<QueryFlag> SKIPPED = Sets.newHashSet(QueryFlag.NO_TAG_INFO, QueryFlag.SHOW_TAG_INFO, QueryFlag.FILTER_TAG_INCLUDE, QueryFlag.FILTER_TAG_EXCLUDE);

    static {
        final StringBuilder help = new StringBuilder();
<commit_msg>allow user to see tag options in help queries<commit_after>package net.ripe.db.whois.query.executor;

import com.google.common.collect.Sets;
import net.ripe.db.whois.query.domain.MessageObject;
import net.ripe.db.whois.query.domain.ResponseHandler;
import net.ripe.db.whois.query.query.Query;
import net.ripe.db.whois.query.query.QueryFlag;
import org.springframework.stereotype.Component;

import java.util.Set;

import static net.ripe.db.whois.common.FormatHelper.prettyPrint;

@Component
public class HelpQueryExecutor implements QueryExecutor {
    private static final int MAX_LINE_LENGTH = 80;
    private static final int IND_1 = 6;
    private static final int IND_2 = 12;

    private static final MessageObject HELP_RESPONSE;

    static final Set<QueryFlag> SKIPPED = Sets.newHashSet();

    static {
        final StringBuilder help = new StringBuilder();

{'fraction_non_alphanumeric': 0.08895027624309393, 'fraction_numerical': 0.0077348066298342545, 'mean_word_length': 4.731012658227848, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4743909', 'n_tokens_mistral': 586, 'n_tokens_neox': 556, 'n_words': 129}