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

@ -151,12 +151,12 @@ impl DebugOptions {
"dump-flow-tree" => self.dump_flow_tree = true,
"dump-rule-tree" => self.dump_rule_tree = true,
"dump-style-tree" => self.dump_style_tree = true,
"dump-style-stats" => self.dump_style_statistics = true,
"dump-scroll-tree" => self.dump_scroll_tree = true,
"gc-profile" => self.gc_profile = true,
"profile-script-events" => self.profile_script_events = true,
"relayout-event" => self.relayout_event = true,
"signpost" => self.signpost = true,
"dump-style-stats" => self.dump_style_statistics = true,
"" => {},
_ => return Err(String::from(option)),
};