From e8c020fbc6e354366fdc05c47c70e6e7d6036af4 Mon Sep 17 00:00:00 2001 From: _ <> Date: Mon, 30 Nov 2020 16:15:27 +0000 Subject: [PATCH] Update --print-tripcode option --- crates/ptth_server/src/bin/ptth_server.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ptth_server/src/bin/ptth_server.rs b/crates/ptth_server/src/bin/ptth_server.rs index 321d3dd..6fb0fe4 100644 --- a/crates/ptth_server/src/bin/ptth_server.rs +++ b/crates/ptth_server/src/bin/ptth_server.rs @@ -36,7 +36,8 @@ fn main () -> Result <(), anyhow::Error> { let config_file: ConfigFile = load_toml::load (&path)?; if opt.print_tripcode { - println! (r#""{}" = "{}""#, config_file.name, config_file.tripcode ()); + println! (r#"name = "{}""#, config_file.name); + println! (r#"tripcode = "{}""#, config_file.tripcode ()); return Ok (()); }