feat: updates
This commit is contained in:
@@ -5,7 +5,7 @@ use openpgp_card::crypto_data::Cryptogram;
|
||||
use rust_util::XResult;
|
||||
use rust_util::util_clap::{Command, CommandError};
|
||||
|
||||
use crate::{cmdutil, pgpcardutil, pinutil};
|
||||
use crate::{cmdutil, pgpcardutil, pinutil, util};
|
||||
use crate::util::{base64_encode, read_stdin, try_decode};
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
@@ -88,7 +88,7 @@ impl Command for CommandImpl {
|
||||
json.insert("text_utf8", text);
|
||||
}
|
||||
|
||||
println!("{}", serde_json::to_string_pretty(&json).unwrap());
|
||||
util::print_pretty_json(&json);
|
||||
}
|
||||
Ok(None)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user