summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-31 04:11:57 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-31 04:11:57 +0200
commit256425cc10d74c13602527eb86b4ba0938964565 (patch)
tree821d99b76251c40b60c1272e40607192051bed0a /man
parent4c8cd173305697f59adcebf980ad7babe751d38c (diff)
systemctl: introduce "systemctl man" to show man page for unit
For now this only reads man: URLs, but later on we might want to support info: too. http/https is probably out of focus.
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 53d6a47c98..34a3ea8438 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -632,7 +632,15 @@
looking for formatted human-readable
output.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><command>man [NAME...|PID...]</command></term>
+ <listitem><para>Show manual pages for
+ one or more units, if available. If a
+ PID is passed the manual pages for the
+ unit the process of the PID belongs to
+ is shown.</para></listitem>
+ </varlistentry>
<varlistentry>
<term><command>reset-failed [NAME...]</command></term>