1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
systemd/src/portable
Lennart Poettering 353b2baa20 tree-wide: clean up --help texts a bit
This cleans up and unifies the outut of --help texts a bit:

1. Highlight the human friendly description string, not the command
   line via ANSI sequences. Previously both this description string and
   the brief command line summary was marked with the same ANSI
   highlight sequence, but given we auto-page to less and less does not
   honour multi-line highlights only the command line summary was
   affectively highlighted. Rationale: for highlighting the description
   instead of the command line: the command line summary is relatively
   boring, and mostly the same for out tools, the description on the
   other hand is pregnant, important and captions the whole thing and
   hence deserves highlighting.

2. Always suffix "Options" with ":" in the help text

3. Rename "Flags" →  "Options" in one case

4. Move commands to the top in a few cases

5. add coloring to many more help pages

6. Unify on COMMAND instead of {COMMAND} in the command line summary.
   Some tools did it one way, others the other way. I am not sure what
   precisely {} is supposed to mean, that uppercasing doesn't, hence
   let's simplify and stick to the {}-less syntax

And minor other tweaks.
2019-11-18 15:14:43 +01:00
..
profile portable: add SystemCallFilter=@system-service to the three main portable service profiles 2018-06-14 17:44:20 +02:00
meson.build
org.freedesktop.portable1.conf portabled: fix dbus policy 2019-04-03 17:24:12 +02:00
org.freedesktop.portable1.policy portable: update polkit messages 2018-06-19 13:21:17 +09:00
org.freedesktop.portable1.service
portable.c portabled: allow to detach an image with a unit in linked-runtime state 2019-10-04 14:45:41 +01:00
portable.h portable: introduce portable_metadata_hash_ops and use it 2018-12-02 12:18:54 +01:00
portablectl.c tree-wide: clean up --help texts a bit 2019-11-18 15:14:43 +01:00
portabled-bus.c portabled: reorder methods in vtable 2019-04-03 17:24:12 +02:00
portabled-bus.h
portabled-image-bus.c portabled: fix method name 2019-04-03 17:24:12 +02:00
portabled-image-bus.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
portabled-image.c machine-image: introduce image_hash_ops and use it 2018-12-02 12:18:54 +01:00
portabled-image.h tree-wide: add multiple inclusion guard 2018-06-25 13:04:59 +09:00
portabled-operation.c
portabled-operation.h
portabled.c portabled: Make use of SYNTHETIC_ERRNO() 2019-07-04 19:45:23 +02:00
portabled.h