]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/delta/delta.c
tree-wide: Drop custom formatting for print() help messages
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 30 Jan 2021 14:13:04 +0000 (14:13 +0000)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 31 Jan 2021 04:14:02 +0000 (13:14 +0900)
commitbc556335b1c568c98688cc1f586b5f753fcddac6
tree2f9336fb6ea885d672e8c0e23300a448a554ce02
parent16455ee2b1853238cf0e936735ff92e690a20253
tree-wide: Drop custom formatting for print() help messages

I think this formatting was originally used because it simplified
adding new options to the help messages. However, these days, most
tools their help message end with "\nSee the %s for details.\n" so
the final line almost never has to be edited which eliminates the
benefit of the custom formatting used for printf() help messages.
Let's make things more consistent and use the same formatting for
printf() help messages that we use everywhere else.

Prompted by https://github.com/systemd/systemd/pull/18355#discussion_r567241580
78 files changed:
src/ac-power/ac-power.c
src/activate/activate.c
src/analyze/analyze.c
src/ask-password/ask-password.c
src/backlight/backlight.c
src/binfmt/binfmt.c
src/boot/bless-boot.c
src/boot/boot-check-no-failures.c
src/boot/bootctl.c
src/busctl/busctl.c
src/cgls/cgls.c
src/cgtop/cgtop.c
src/core/main.c
src/coredump/coredumpctl.c
src/cryptenroll/cryptenroll.c
src/cryptsetup/cryptsetup.c
src/delta/delta.c
src/detect-virt/detect-virt.c
src/dissect/dissect.c
src/escape/escape.c
src/firstboot/firstboot.c
src/home/homectl.c
src/hostname/hostnamectl.c
src/hwdb/hwdb.c
src/id128/id128.c
src/journal-remote/journal-gatewayd.c
src/journal-remote/journal-remote-main.c
src/journal-remote/journal-upload.c
src/journal/cat.c
src/journal/journalctl.c
src/locale/localectl.c
src/login/inhibit.c
src/login/loginctl.c
src/machine-id-setup/machine-id-setup-main.c
src/machine/machinectl.c
src/modules-load/modules-load.c
src/mount/mount-tool.c
src/network/generator/main.c
src/network/networkctl.c
src/network/wait-online/wait-online.c
src/notify/notify.c
src/nspawn/nspawn.c
src/oom/oomctl.c
src/oom/oomd.c
src/partition/growfs.c
src/partition/repart.c
src/path/path.c
src/portable/portablectl.c
src/resolve/resolvconf-compat.c
src/resolve/resolvectl.c
src/run/run.c
src/sleep/sleep.c
src/socket-proxy/socket-proxyd.c
src/sysctl/sysctl.c
src/sysext/sysext.c
src/systemctl/systemctl-compat-halt.c
src/systemctl/systemctl-compat-runlevel.c
src/systemctl/systemctl-compat-shutdown.c
src/systemctl/systemctl-compat-telinit.c
src/systemctl/systemctl.c
src/sysusers/sysusers.c
src/timedate/timedatectl.c
src/tmpfiles/tmpfiles.c
src/tty-ask-password-agent/tty-ask-password-agent.c
src/udev/scsi_id/scsi_id.c
src/udev/udevadm-control.c
src/udev/udevadm-hwdb.c
src/udev/udevadm-info.c
src/udev/udevadm-monitor.c
src/udev/udevadm-settle.c
src/udev/udevadm-test-builtin.c
src/udev/udevadm-test.c
src/udev/udevadm-trigger.c
src/udev/udevadm.c
src/udev/udevd.c
src/udev/v4l_id/v4l_id.c
src/userdb/userdbctl.c
src/veritysetup/veritysetup.c