chore: Use print! to print the password

This commit is contained in:
Awiteb 2024-05-10 05:08:48 +03:00
parent 44b5b3e09b
commit 8cf83c2775
Signed by: awiteb
GPG key ID: 3F6B55640AA6682F

View file

@ -44,7 +44,7 @@ pub struct Gen {
impl LprsCommand for Gen {
fn run(self, _vault_manager: Vaults) -> LprsResult<()> {
println!(
print!(
"{}",
passwords::PasswordGenerator::new()
.length(self.length.get() as usize)
@ -52,7 +52,7 @@ impl LprsCommand for Gen {
.lowercase_letters(self.lowercase)
.numbers(self.numbers)
.symbols(self.symbols)
.strict(true)
.strict(false)
.generate_one()
.expect("The length cannot be zero")
);