Просмотр исходного кода

util/cli_desc: Add newline before the ansi logo.

parazyd 4 лет назад
Родитель
Сommit
44683d04aa
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/util/cli.rs

+ 1 - 0
src/util/cli.rs

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