aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/mod.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2021-11-13 22:40:24 +0000
committerGitHub <noreply@github.com>2021-11-13 22:40:24 +0000
commit8f91b1410c2bc67e6b3da8a1927da31a9dfb09ab (patch)
tree141d8e1fab32e313c4074ebd5b85f9931f11c9df /src/command/mod.rs
parentfeat: allow input of credentials from stdin (#185) (diff)
downloadatuin-8f91b1410c2bc67e6b3da8a1927da31a9dfb09ab.zip
chore: some new linting (#201)
* chore: some new linting * chore: some more linting * chore: rustfmt
Diffstat (limited to 'src/command/mod.rs')
-rw-r--r--src/command/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs
index 5b03e360..6a79a32f 100644
--- a/src/command/mod.rs
+++ b/src/command/mod.rs
@@ -147,7 +147,9 @@ impl AtuinCmd {
logout::run();
Ok(())
}
- Self::Register(r) => register::run(&client_settings, r.username, r.email, r.password),
+ Self::Register(r) => {
+ register::run(&client_settings, &r.username, &r.email, &r.password)
+ }
Self::Key => {
let key = atuin_client::encryption::load_key(&client_settings)?;
println!("{}", atuin_client::encryption::encode_key(key)?);