ukify: use pager for --help
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Jun 2023 15:32:47 +0000 (17:32 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 12 Jun 2023 09:12:02 +0000 (11:12 +0200)
commit6fa7913830d401a51ac35b35713fe5edf2063a64
treef4e46ed4a99194a40680bbeac69ed5aef98106c1
parenta3b227d28a823d59e3281109f5369d0f63b40f62
ukify: use pager for --help

The output is now too long to fit on one page, let's use a pager automatically
like in other places.

The implementation is copied from mkosi, but adjusted to follow what other
systemd tools do.
src/ukify/ukify.py