]> git.ipfire.org Git - thirdparty/systemd.git/commit
ac-power: follow-up for recent change
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 31 Mar 2025 10:52:39 +0000 (19:52 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 31 Mar 2025 17:55:28 +0000 (02:55 +0900)
commita6344afbc1b7c47d588ff66096bec5097c0b1740
tree0ec43aeb1f8927ee1a43eafa86051a40ece4c5b8
parent9441880d834f2b9d72508e87586b0c03f0b86fec
ac-power: follow-up for recent change

Follow-ups for 72586a971b5ee26b6681fc34ba43c0081dbd94da.

- drop 'Options' sections,
- drop underlining for link,
- fix indentation.

Prompted by https://github.com/systemd/systemd/pull/36850#discussion_r2020594171
> the underline stuff we only use for long --help texts that have sections,
> for the section headers. systemctl --help does that for example. This one
> here is not that long, hence doesn't really need section headers, and
> hence no underlining. The clickable links don't need to be explicitly
> underlined, the terminal emulators that supper hyperlinks will underline
> them on their own (for example gnome-terminal uses a dotted line).

Addresses https://github.com/systemd/systemd/pull/36873#discussion_r2017578611
src/ac-power/ac-power.c