// Path: src/main/java/org/tyrannyofheaven/bukkit/util/ToHStringUtils.java
// public static boolean hasText(String text) {
//     return text != null && text.trim().length() > 0;
// }


import static org.tyrannyofheaven.bukkit.util.ToHStringUtils.hasText;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
                    }
                }
                else {
                    options.put(omd.getName(), args[pos++]);
                    parsedPositional = true;
                }
            }
            else {
                if (pos >= args.length) {
                    // No more args, this and the rest should be optional
                    unparsedArgument = omd;
                    break;
                }
                else {
                    options.put(omd.getName(), args[pos++]);
                    parsedPositional = true;
                }
            }
        }

        rest = Arrays.copyOfRange(args, pos, args.length);
    }

    /**
     * Retrieve associated value for an option.
     * 
     * @param name the option name
     * @return the associated String value
     */
    public String getOption(String name) {
// Path: src/main/java/org/tyrannyofheaven/bukkit/util/ToHStringUtils.java
// public static boolean hasText(String text) {
//     return text != null && text.trim().length() > 0;
// }


// Path: src/main/java/org/tyrannyofheaven/bukkit/util/command/ParsedArgs.java
import static org.tyrannyofheaven.bukkit.util.ToHStringUtils.hasText;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;

                    }
                }
                else {
                    options.put(omd.getName(), args[pos++]);
                    parsedPositional = true;
                }
            }
            else {
                if (pos >= args.length) {
                    // No more args, this and the rest should be optional
                    unparsedArgument = omd;
                    break;
                }
                else {
                    options.put(omd.getName(), args[pos++]);
                    parsedPositional = true;
                }
            }
        }

        rest = Arrays.copyOfRange(args, pos, args.length);
    }

    /**
     * Retrieve associated value for an option.
     * 
     * @param name the option name
     * @return the associated String value
     */
    public String getOption(String name) {
        if (!hasText(name))