upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/login/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/login/mod.rs')
-rw-r--r--src/lib/login/mod.rs14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/login/mod.rs b/src/lib/login/mod.rs
index 0be1e5d..a1c45d5 100644
--- a/src/lib/login/mod.rs
+++ b/src/lib/login/mod.rs
@@ -79,15 +79,11 @@ fn print_logged_in_as(
79 "failed to find your relay list. consider using another nostr client to create one to enhance your nostr experience." 79 "failed to find your relay list. consider using another nostr client to create one to enhance your nostr experience."
80 ); 80 );
81 } 81 }
82 eprintln!( 82 eprintln!("logged in as {}{}", user_ref.metadata.name, match source {
83 "logged in as {}{}", 83 SignerInfoSource::CommandLineArguments => " via cli arguments",
84 user_ref.metadata.name, 84 SignerInfoSource::GitLocal => " to local repository",
85 match source { 85 SignerInfoSource::GitGlobal => "",
86 SignerInfoSource::CommandLineArguments => " via cli arguments", 86 });
87 SignerInfoSource::GitLocal => " to local repository",
88 SignerInfoSource::GitGlobal => "",
89 }
90 );
91 Ok(()) 87 Ok(())
92} 88}
93 89