servoshell: Update the debug options (-Z) help to reflect current set of options (#39316)

The command-line help output for `-Z` and `DebugOptions were out of sync
again. This change makes sure they match again.

Testing: No tests necessary as this mainly just updates the help output.
Fixes: #39311

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
This commit is contained in:
Narfinger 2025-09-17 17:07:39 +02:00 committed by GitHub
parent 07c3f32947
commit 76645e5e26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 22 deletions

View file

@ -730,11 +730,6 @@ fn print_debug_options_usage(app: &str) {
"Usage: {} debug option,[options,...]\n\twhere options include\n\nOptions:",
app
);
print_option(
"bubble-inline-sizes-separately",
"Bubble intrinsic widths separately like other engines.",
);
print_option(
"convert-mouse-to-touch",
"Send touch events instead of mouse events",
@ -751,10 +746,6 @@ fn print_debug_options_usage(app: &str) {
"dump-display-list",
"Print the display list after each layout.",
);
print_option(
"dump-display-list-json",
"Print the display list in JSON form.",
);
print_option(
"dump-flow-tree",
"Print the fragment tree after each layout.",
@ -768,11 +759,8 @@ fn print_debug_options_usage(app: &str) {
"Print the DOM with computed styles after each restyle.",
);
print_option("dump-style-stats", "Print style statistics each restyle.");
print_option("dump-scroll-tree", "Print scroll tree after each layout.");
print_option("gc-profile", "Log GC passes and their durations.");
print_option(
"parallel-display-list-building",
"Build display lists in parallel.",
);
print_option(
"profile-script-events",
"Enable profiling of script-related events.",
@ -781,14 +769,6 @@ fn print_debug_options_usage(app: &str) {
"relayout-event",
"Print notifications when there is a relayout.",
);
print_option(
"show-fragment-borders",
"Paint borders along fragment boundaries.",
);
print_option(
"show-parallel-layout",
"Mark which thread laid each flow out with colors.",
);
print_option(
"signpost",
"Emit native OS signposts for profile events (currently macOS only)",