~ubuntu-branches/ubuntu/precise/bughelper/precise

« back to all changes in this revision

Viewing changes to bugHelper/commandLine.py

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-08-16 13:05:35 UTC
  • Revision ID: james.westby@ubuntu.com-20070816130535-2u2ud11eabv1srkm
Tags: 0.2~r184
Add --reporter to filter against initial reporter, from Brian Murray.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
                                        for that package exists
46
46
    [--tag <tag>]                       filter on given tag
47
47
    [--lc <reporter|LP-user>]           filter on last comment
 
48
    [--reporter <reporter,...>]         filter on initial reporter
48
49
    [--nd (<|>)<int>]                   filter on given number of duplicates
49
50
    [--footer (s|t|st)]                 show (s)tatistical or date/(t)ime information
50
51
                                        in the footer, (st) for both""")
100
101
            parser.add_option("--tag", type="string", dest="tag",
101
102
                              default="", help="bug tag")
102
103
            parser.add_option("--lc", type="string", dest="lastcomment",
103
 
                              default="", help="fiter on author of the last comment")
 
104
                              default="", help="filter on author of the last comment")
 
105
            parser.add_option("--reporter", type="string", dest="reporter",
 
106
                              default="", help="filter on the reporter")
104
107
            parser.add_option("--nd", type="string", dest="no_duplicates",
105
108
                              default="", help="number of duplicates")
106
109
            parser.add_option("--file", type="string", dest="file",
129
132
    [--sort <option>]           sort output
130
133
    [--nd (<|>)<int>]           filter on given number of duplicates
131
134
    [--tag <tag>]               filter on given tag
 
135
    [--reporter <reporter,...>] filter on initial reporter
132
136
    [--lc <reporter|LP-user>]   filter on last comment""")
133
137
            parser.add_option("-p", "--package", type="string", 
134
138
                                    dest="sourcepackage", 
166
170
            parser.add_option("--sort", type="string", dest="sort",
167
171
                              default="", help="sort output")
168
172
            parser.add_option("--lc", type="string", dest="lastcomment",
169
 
                              default="", help="fiter on author of the last comment")
 
173
                              default="", help="filter on author of the last comment")
 
174
            parser.add_option("--reporter", type="string", dest="reporter",
 
175
                              default="", help="filter on the reporter")
170
176
            parser.add_option("--file", type="string", dest="file",
171
177
                              default="", help="print to file")
172
178
            parser.add_option("--format", type="string", dest="format",