def AddNoGlob(options):
    """
    If the option 'no_glob' is defined, add it to the cmd string.

    Returns: a string containing the knob
    """

    string = ''
    if hasattr(options, 'no_glob') and options.no_glob:
        string = ' --no_glob'

    return string