Merge pull request #18394 from Wilfred/pretty_print_status

internal: Pretty-print Config in status command
This commit is contained in:
Lukas Wirth 2024-10-24 06:12:19 +00:00 committed by GitHub
commit 3f6b0fae83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,7 +119,7 @@ pub(crate) fn handle_analyzer_status(
format_to!(buf, "{}", crate::version()); format_to!(buf, "{}", crate::version());
buf.push_str("\nConfiguration: \n"); buf.push_str("\nConfiguration: \n");
format_to!(buf, "{:?}", snap.config); format_to!(buf, "{:#?}", snap.config);
Ok(buf) Ok(buf)
} }