cli: Print the identity parent in `cob show`

The parent that points to the identity document commit was missing
from the output.
This commit is contained in:
cloudhead 2023-09-11 23:35:41 +02:00
parent 8cae60371c
commit fe5d473af7
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
.to_rfc2822();
term::print(term::format::yellow(format!("commit {}", op.id)));
term::print(term::format::tertiary(format!("parent {}", op.identity)));
for parent in op.parents {
term::print(format!("parent {}", parent));
}