From 1c0dee8e60d9c1c989a3712e7d1e19debe981e8a Mon Sep 17 00:00:00 2001 From: diogo464 Date: Wed, 14 Jul 2021 15:07:32 +0100 Subject: Small changes to logging and docs. --- dotup_cli/src/commands/init.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dotup_cli/src/commands/init.rs') diff --git a/dotup_cli/src/commands/init.rs b/dotup_cli/src/commands/init.rs index 8765dbf..b894924 100644 --- a/dotup_cli/src/commands/init.rs +++ b/dotup_cli/src/commands/init.rs @@ -11,11 +11,11 @@ pub struct Opts {} pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { if !dotup::utils::is_file(&config.archive_path)? { let archive = Archive::default(); - log::info!("Creating archive"); + log::info!("Creating archive at {}", &config.archive_path.display()); utils::write_archive(&config.archive_path, &archive)?; } else { - log::info!( - "Archive file already exists : {}", + log::warn!( + "Archive file already exists : '{}'", config.archive_path.display() ); } -- cgit