~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to generate_docs.py

merge with bzr.dev revno.1860

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
import tools.doc_generate
39
39
 
40
40
def main(argv):
41
 
    parser = OptionParser(usage="%prog [options] OUTPUT_FORMAT")
 
41
    parser = OptionParser(usage="""%prog [options] OUTPUT_FORMAT
 
42
 
 
43
Available OUTPUT_FORMAT:
 
44
 
 
45
    man              man page
 
46
    rstx             man page in ReStructuredText format
 
47
    bash_completion  bash completion script""")
42
48
 
43
49
    parser.add_option("-s", "--show-filename",
44
50
                      action="store_true", dest="show_filename", default=False,