tree-wide: add clickable man page link to all --help texts

System Internals / systemd - Lennart Poettering [poettering.net] - 20 August 2018 09:33 EDT

This is a bit like the info link in most of GNU's --help texts, but we don't do info but man pages, and we make them properly clickable on terminal supporting that, because awesome.

I think it's generally advisable to link up our (brief) --help texts and our (more comprehensive) man pages a bit, so this should be an easy and straight-forward way to do it.

37ec0fdd3 tree-wide: add clickable man page link to all --help texts
src/activate/activate.c | 23 +++--
src/analyze/analyze.c | 14 ++-
src/ask-password/ask-password.c | 25 ++++-
src/basic/terminal-util.c | 9 ++
src/basic/terminal-util.h | 1 +
src/binfmt/binfmt.c | 21 +++-
src/boot/bootctl.c | 19 ++--
src/busctl/busctl.c | 12 ++-
src/cgls/cgls.c | 20 +++-
src/cgtop/cgtop.c | 20 +++-
src/core/main.c | 15 ++-
src/coredump/coredumpctl.c | 12 ++-
src/cryptsetup/cryptsetup.c | 16 ++-
src/delta/delta.c | 19 +++-
src/detect-virt/detect-virt.c | 21 +++-
src/escape/escape.c | 20 +++-
src/firstboot/firstboot.c | 19 +++-
src/hostname/hostnamectl.c | 12 ++-
src/hwdb/hwdb.c | 24 +++--
src/journal-remote/journal-gatewayd.c | 22 +++-
src/journal-remote/journal-remote-main.c | 27 +++--
src/journal-remote/journal-upload.c | 20 +++-
src/journal/cat.c | 18 +++-
src/journal/journalctl.c | 18 +++-
src/locale/localectl.c | 13 ++-
src/login/inhibit.c | 20 +++-
src/login/loginctl.c | 16 ++-
src/machine-id-setup/machine-id-setup-main.c | 21 +++-
src/machine/machinectl.c | 12 ++-
src/modules-load/modules-load.c | 22 +++-
src/mount/mount-tool.c | 23 +++--
src/network/networkctl.c | 19 +++-
src/network/wait-online/wait-online.c | 17 +++-
src/notify/notify.c | 22 +++-
src/nspawn/nspawn.c | 19 +++-
src/partition/growfs.c | 23 +++--
src/path/path.c | 22 +++-
src/portable/portablectl.c | 14 ++-
src/resolve/resolvconf-compat.c | 20 +++-
src/resolve/resolvectl.c | 41 ++++++--
src/run/run.c | 19 +++-
src/sleep/sleep.c | 34 +++++--
src/socket-proxy/socket-proxyd.c | 30 ++++--
src/sysctl/sysctl.c | 19 +++-
src/systemctl/systemctl.c | 113 +++++++++++++++------
src/sysusers/sysusers.c | 19 +++-
src/timedate/timedatectl.c | 12 ++-
src/tmpfiles/tmpfiles.c | 19 +++-
.../tty-ask-password-agent.c | 21 +++-
src/udev/udevadm.c | 13 ++-
src/udev/udevd.c | 19 +++-
src/veritysetup/veritysetup.c | 17 +++-
52 files changed, 854 insertions(+), 232 deletions(-)

Upstream: github.com


  • Share