[patch] use of getopts + guiless method
Bug #433664 reported by
Wesley Schwengle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
I've added -g to the ubuntu-bugs script so you don't need to unset the DISPLAY env variable before calling it. I like to have applications that can be configured/called with params to disable GUI's. Like mtr, vim etc. ubuntu-bugs uses X where I think it is not needed. I could call apport-cli.. Anyhows, here is a patch that implements GUI-less calling and implements getopts for -p|-P|-g
tags: | added: patch |
Changed in apport (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in apport (Ubuntu): | |
status: | New → Triaged |
To post a comment you must log in.
I just went into bzr and saw there is no longer a ubuntu-bug file, it is called apport-bug now and it is different. New patch attached.
Made the following changes:
* Created a simple usage function
* Use getopts for option parsing
* Added -g for GUI-less operation of ubuntu/apport-bug script.