Summary: | systemctl list-dependencies colors should match systemctl | ||
---|---|---|---|
Product: | systemd | Reporter: | Felipe Sateler <fsateler> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | minor | ||
Priority: | medium | CC: | fsateler |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Felipe Sateler
2015-05-28 16:09:52 UTC
I would like to point out that the --plain does not suppress printing the colored dots (systemd version 216-25.fc21). That option only suppresses the line drawing characters that are described as "tree" format. If stdout is not a tty (instead a regular file or a pipe) the dots are still printed but without the red and green colors. The systemctl program needs some work to improve output so that it is parsable by coreutils programs. Hello, It would be good to add black color (not started, condition failed) to man page indications may be we can have a systemd-colors man page ? and make a reference on all the commands where colors are used ? Thank you ! The scheme used by 'list-dependencies' should be changed to match 'status'. Anything else is just too confusing. We might want to document the color scheme somewhere in systemctl(1). I don't think we should add a separate man page, because we already have 200+ systemd man pages, the color scheme is not guaranteed to be stable, it might be adjusted in the future, and we should not give too much prominence to it. The color scheme is now that green is used for active, white for inactive, red for failed. So this seems to be fixed since a while. If further adjustments are needed, please open a bug under https://github.com/systemd/systemd/issues. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.