Sort streams in "-B help" output, and match case-insensitively throughout

Matching of plugins' debug streams was still case-sensitive. Also contains some
minor output tweaks.

It'd be nice to only list plugin debug streams actually _used_ by plugins. I
didn't see a quick way to do that so that's for another time.
This commit is contained in:
Christian Kreibich 2024-11-15 11:51:44 -08:00
parent b4ddf73e22
commit 5e4942bcc0
4 changed files with 23 additions and 13 deletions

View file

@ -108,7 +108,7 @@ private:
static Stream streams[NUM_DBGS];
const std::string PluginStreamName(const std::string& plugin_name) {
return "plugin-" + util::strreplace(plugin_name, "::", "-");
return "plugin-" + util::strtolower(util::strreplace(plugin_name, "::", "-"));
}
};