[Webkit-unassigned] [Bug 26912] bugzilla-tool should accept global options anywhere

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 10 00:08:44 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=26912


Eric Seidel <eric at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org




--- Comment #1 from Eric Seidel <eric at webkit.org>  2009-12-10 00:08:43 PST ---
Adam points out that the easy way to do this would be to simply have a single
option parser, and to just have the tool be smart enough to add in the options
from whatever command is chosen.

Basically run looks like this:

1.  Find out where the command is in the args stream (the first arg not
beginning with -)
2.  Look up the command.
3.  Build the relevant option parser.
4.  Parse options and pass them off to the command.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list