util/cli_desc: Add newline before the ansi logo.

This commit is contained in:
parazyd
2022-04-30 10:21:51 +02:00
parent 5ba78d6967
commit 44683d04aa

View File

@@ -116,6 +116,7 @@ pub const ANSI_LOGO: &str = include_str!("../../contrib/darkfi.ansi");
macro_rules! cli_desc {
() => {{
let mut desc = env!("CARGO_PKG_DESCRIPTION").to_string();
desc.push_str("\n");
desc.push_str(darkfi::util::cli::ANSI_LOGO);
Box::leak(desc.into_boxed_str()) as &'static str
}};