Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd all options to mach run -- --help #10126
Comments
|
I would like to work on this one. |
|
@ConnorGBrewster Go for it! Let us know if you need any assistance |
|
Currently you can print out the list of these options using
My question is, should this be called to get the run options and append them to the end of the normal If we go with the first option, it would require Servo to have been built at least once for |
|
I don't actually know if we can get |
|
Although the fact that |
|
@jdm Currently running
|
|
Is there a way to make the run flags appear in addition to the mach flags? e.g., when one runs |
|
That would probably require special integration with mach. Maybe the place to start looking is _handle_main_help in python/mach/mach/dispatcher.py? |
|
If one runs |
|
I think it'd be better if mach initially checks for any one Servo build (let it be debug or release) - just put a note at the top indicating which build. If there's no build in the possible paths, then exit with the usual message (the one we get for |
|
It looks like I could do this by using the |
|
I wouldn't modify anything in |
|
I think I will hold off on this one until we figure out how/if this should be done. |
|
This is still true, right? |
The full list of options is at:
https://github.com/servo/servo/blob/master/components/util/opts.rs#L514-L553
These should be documented in
mach --help.Possible libraries that could be used to handle this: