opgpcard: Make status output clearer for empty keyslots, in text output mode
This commit is contained in:
parent
79117415de
commit
65789b0470
1 changed files with 2 additions and 0 deletions
|
@ -312,6 +312,8 @@ impl KeySlotInfo {
|
||||||
|
|
||||||
if let Some(fp) = &self.fingerprint {
|
if let Some(fp) = &self.fingerprint {
|
||||||
lines.push(format!("Fingerprint: {}", fp));
|
lines.push(format!("Fingerprint: {}", fp));
|
||||||
|
} else {
|
||||||
|
lines.push("Fingerprint: [unset]".to_string());
|
||||||
}
|
}
|
||||||
if let Some(ts) = &self.creation_time {
|
if let Some(ts) = &self.creation_time {
|
||||||
lines.push(format!("Creation Time: {}", ts));
|
lines.push(format!("Creation Time: {}", ts));
|
||||||
|
|
Loading…
Reference in a new issue