aboutsummaryrefslogtreecommitdiff
path: root/dotup_cli/src/commands/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'dotup_cli/src/commands/init.rs')
-rw-r--r--dotup_cli/src/commands/init.rs6
1 files changed, 3 insertions, 3 deletions
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 {}
11pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> { 11pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> {
12 if !dotup::utils::is_file(&config.archive_path)? { 12 if !dotup::utils::is_file(&config.archive_path)? {
13 let archive = Archive::default(); 13 let archive = Archive::default();
14 log::info!("Creating archive"); 14 log::info!("Creating archive at {}", &config.archive_path.display());
15 utils::write_archive(&config.archive_path, &archive)?; 15 utils::write_archive(&config.archive_path, &archive)?;
16 } else { 16 } else {
17 log::info!( 17 log::warn!(
18 "Archive file already exists : {}", 18 "Archive file already exists : '{}'",
19 config.archive_path.display() 19 config.archive_path.display()
20 ); 20 );
21 } 21 }