diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-14 16:55:24 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-02-16 09:53:49 -0500 |
commit | 265a7a2a604a9cf92e8aa167ed48afb78e6602ea (patch) | |
tree | 19b546f91335df8f161e49fc93576a515d3f45bd /man/systemctl.xml | |
parent | 9d246da3c630559924a0262769c8493fa22c7acc (diff) |
systemctl: allow status with no units
This makes 'status' behave like 'list-units':
systemctl status -> status of all units
systemctl -t error status -> status of error units
systemctl -t mount status -> etc.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r-- | man/systemctl.xml | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml index 7f7064214e..760115acb5 100644 --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -471,7 +471,10 @@ <varlistentry> <term><command>list-units</command></term> - <listitem><para>List known units.</para></listitem> + <listitem><para>List known units (subject to limitations + specified with <option>-t</option>).</para> + + <para>This is the default command.</para></listitem> </varlistentry> <varlistentry> <term><command>start [NAME...]</command></term> @@ -619,15 +622,19 @@ <listitem><para>Show terse runtime status information about one or more - units, followed by its most recent log - data from the journal. This function - is intended to generate human-readable - output. If you are looking for - computer-parsable output, use - <command>show</command> instead. If a - PID is passed information about the - unit the process of the PID belongs to - is shown.</para></listitem> + units, followed by most recent log + data from the journal. If no units are + specified, show all units (subject to + limitations specified with + <option>-t</option>). If a PID is + passed show information about the unit + the process belongs to.</para> + + <para>This function is intended to + generate human-readable output. If you + are looking for computer-parsable + output, use <command>show</command> + instead.</para></listitem> </varlistentry> <varlistentry> <term><command>show [NAME...|JOB...]</command></term> |