binfmt,sysctl,sysuers,tmpfiles: add auto-paging for --cat-config commands

System Internals / systemd - Lennart Poettering [poettering.net] - 13 June 2018 12:20 EDT

The output of these commands is really long, and already enriched with color. Let's add auto-paging to make this easier to digest.

dcd5c891c binfmt,sysctl,sysuers,tmpfiles: add auto-paging for --cat-config commands
man/systemd-binfmt.service.xml | 1 +
man/systemd-sysctl.service.xml | 1 +
man/systemd-sysusers.xml | 1 +
man/systemd-tmpfiles.xml | 1 +
src/binfmt/binfmt.c | 19 ++++++++++++++++---
src/sysctl/sysctl.c | 13 +++++++++++++
src/sysusers/sysusers.c | 16 +++++++++++++++-
src/tmpfiles/tmpfiles.c | 13 +++++++++++++
8 files changed, 61 insertions(+), 4 deletions(-)

Upstream: github.com


  • Share