dissect: almost port systemd-dissect to table_print_with_pager()
authorLennart Poettering <lennart@poettering.net>
Thu, 21 Jan 2021 17:12:23 +0000 (18:12 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jan 2021 17:14:37 +0000 (18:14 +0100)
commit17547fb5cb2edd20a4c7a96c9d7971b52002ced2
tree2292263bfbe05d46f445ec003f3f3509ad3f6f6c
parent16a36b56163d1e3ab3354bd47e505b484b5a5f55
dissect: almost port systemd-dissect to table_print_with_pager()

This doesn't actually port systemd-dissect to table_print_with_pager()
but at least rearranges things so that similar behaviour is exposed. The
reason it's not ported over 1:1 is that systemd-dissect actually adjusts
the JSON output of the table with additional info, and doesn't print the
table 1:1 as JSON.
man/systemd-dissect.xml
src/dissect/dissect.c