aboutsummaryrefslogtreecommitdiff
path: root/dotup_cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'dotup_cli/src')
-rw-r--r--dotup_cli/src/commands/link.rs2
-rw-r--r--dotup_cli/src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/dotup_cli/src/commands/link.rs b/dotup_cli/src/commands/link.rs
index 518bd4a..ed7ee55 100644
--- a/dotup_cli/src/commands/link.rs
+++ b/dotup_cli/src/commands/link.rs
@@ -43,7 +43,7 @@ pub fn main(config: Config, opts: Opts) -> anyhow::Result<()> {
43 } else { 43 } else {
44 let mut params = Vec::new(); 44 let mut params = Vec::new();
45 for origin in origins { 45 for origin in origins {
46 link(&depot, &origin, &destination, &origin, &mut params)?; 46 link(&depot, origin, destination, origin, &mut params)?;
47 } 47 }
48 params 48 params
49 }; 49 };
diff --git a/dotup_cli/src/main.rs b/dotup_cli/src/main.rs
index b4339c9..05fdcab 100644
--- a/dotup_cli/src/main.rs
+++ b/dotup_cli/src/main.rs
@@ -69,7 +69,7 @@ fn main() -> anyhow::Result<()> {
69 0 => "warn", 69 0 => "warn",
70 1 => "info", 70 1 => "info",
71 2 => "debug", 71 2 => "debug",
72 3 | _ => "trace", 72 _ => "trace",
73 }; 73 };
74 74
75 Logger::try_with_env_or_str(log_level)? 75 Logger::try_with_env_or_str(log_level)?