diff --git a/src/main.rs b/src/main.rs index a5cc621..9c14990 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,7 +95,7 @@ fn main() -> XResult<()> { } fn print_version(options: &Options) { - print!(r#"digest {} - {} + println!(r#"digest {} - {} Copyright (C) 2019 Hatter Jiang. License MIT @@ -105,8 +105,7 @@ Supported algorithms: MD5, SHA1, SHA224, SHA256, SHA512, SHA512-224, SHA512-256, SHA3-224, SHA3-256, SHA3-384, SHA3-512, SHAKE-128, SHAKE-256, KECCAK-224, KECCAK-256, KECCAK-384, KECCAK-512, -SM3, RIPEMD160, WHIRLPOOL, BLAKE2S, BLAKE2B -"#, VERSION, &GIT_HASH[0..7]); +SM3, RIPEMD160, WHIRLPOOL, BLAKE2S, BLAKE2B"#, VERSION, &GIT_HASH[0..7]); if options.verbose { print_message(MessageType::DEBUG, &format!("Full git hash: {}", &GIT_HASH)); }