44
46
        topics = indices.search(topic)
 
46
48
        for index, topic in topics[1:]:
 
47
49
            shadowed_terms.append('%s%s' % (index.prefix, topic.get_help_topic()))
 
48
50
        outfile.write(topics[0][1].get_help_text(shadowed_terms))
 
49
53
    except errors.NoHelpTopic:
 
52
55
            outfile.write("'bzr %s' is an alias for 'bzr %s'.\n" % (topic, " ".join(alias)))