Skip to content

Commit

Permalink
Update console output
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeder committed Jan 9, 2019
1 parent 7e3aaf1 commit 4dc6be9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ const MAX_KDF_SIZE: usize = 128;

fn print_usage(program: &str, opts: &Options) {
let brief = format!("Usage: {} v{} [options]", program, VERSION);
print!("{}", opts.usage(&brief));
println!("{}", opts.usage(&brief));
}

fn print_version(program: &str) {
print!("{} v{}", program, VERSION);
println!("{} v{}", program, VERSION);
}

fn get_options() -> Options {
Expand Down Expand Up @@ -218,6 +218,4 @@ fn main() {

print!("Key is (please highlight to see): ");
println!("{}", style(hex::encode(&key as &[u8])).with(Color::Black).on(Color::Black));

println!();
}

0 comments on commit 4dc6be9

Please sign in to comment.