~bughelper-dev/bughelper/buggraphs

« back to all changes in this revision

Viewing changes to bugHelper/commandLine.py

  • Committer: Brian Murray
  • Date: 2008-02-29 01:09:32 UTC
  • Revision ID: brian@canonical.com-20080229010932-x63wclwj9sclhfzt
added bugnumbers filtering for bugs with patches, needing forwarding and resolved upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
            parser.add_option("--lc", type="string", dest="lastcomment",
172
172
                                    default="", metavar="COMMENT_SPEC",
173
173
                                    help='''filter on the last comment's author (u:LAUNCHPAD-LOGIN) and/or date (d:YYYY-MM-DD) of last comment e.g. --lc "u:brian-murray&d:2007-12-04"''')
 
174
            parser.add_option("--patch", action="store_true", 
 
175
                                    dest="patch",
 
176
                                    help="filter on bugs containing a patch attached")
 
177
            parser.add_option("--needs-forwarding", action="store_true",
 
178
                                    dest="needs_forwarding",
 
179
                                    help="filter on bugs needing forwarding upstream")
 
180
            parser.add_option("--fixed-upstream", action="store_true",
 
181
                                    dest="fixed_upstream",
 
182
                                    help="filter on bugs that are resolved upstream")
174
183
            parser.add_option("--sort", type="string", dest="sort",
175
184
                                    default="", metavar="(-)(nr|status|importance)",
176
185
                                    help="sort output by bugnumber, status or importance; add '-' (e.g. '-nr') for reverse order")