<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - list-dependencies colors are undocumented, have unintuitive meaning"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90727">90727</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>list-dependencies colors are undocumented, have unintuitive meaning
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fsateler@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Currently list-dependencies prints a colored dot by default indicating status:
green is active, red is inactive.

This is not documented in the man page for systemctl.

A paragraph like the following might help:

            <para>If the <option>--plain</option> option is not specified,
            each unit will be prefixed by a colored dot, indicating the
            current activity status of the unit. Green indicates the unit is
            currently active, red indicates the unit is inactive.</para>



However, that is a lot of states to collapse into red: a unit may be inactive
because it is failed, or perhaps it just wasn't pulled in by anything, or it
maybe doesn't even exist. Red also marks oneshot units that exited
successfully!

I think using the same color scheme as systemctl status use for the active
state makes sense: uncolored for inactive without errors (including not found
units), yellow for condition failures, and red for error states.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>