diff options
| author | Conrad Ludgate <conradludgate@gmail.com> | 2021-11-13 22:40:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-13 22:40:24 +0000 |
| commit | 8f91b1410c2bc67e6b3da8a1927da31a9dfb09ab (patch) | |
| tree | 141d8e1fab32e313c4074ebd5b85f9931f11c9df /src/command/mod.rs | |
| parent | feat: allow input of credentials from stdin (#185) (diff) | |
| download | atuin-8f91b1410c2bc67e6b3da8a1927da31a9dfb09ab.zip | |
chore: some new linting (#201)
* chore: some new linting
* chore: some more linting
* chore: rustfmt
Diffstat (limited to '')
| -rw-r--r-- | src/command/mod.rs | 4 |
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)?); |
