1ff636
From 285bd714e050c189f6e5e9aa6b59173997ae550e Mon Sep 17 00:00:00 2001
1ff636
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
1ff636
Date: Mon, 29 Jun 2015 20:19:56 -0400
1ff636
Subject: [PATCH] man: information about available properties
1ff636
1ff636
https://bugzilla.redhat.com/show_bug.cgi?id=1144496
1ff636
(cherry picked from commit ea539eb65950bea7a9734424e660ef84f6f30e6c)
1ff636
1ff636
Cherry-picked from: ea539eb
1ff636
Resolves: #1222517
1ff636
---
1ff636
 man/systemctl.xml | 28 +++++++++++++++++++++++-----
1ff636
 1 file changed, 23 insertions(+), 5 deletions(-)
1ff636
1ff636
diff --git a/man/systemctl.xml b/man/systemctl.xml
1ff636
index 44ec0d7..6b29b8c 100644
1ff636
--- a/man/systemctl.xml
1ff636
+++ b/man/systemctl.xml
1ff636
@@ -111,12 +111,30 @@
1ff636
 
1ff636
         <listitem>
1ff636
           <para>When showing unit/job/manager properties with the
1ff636
-          <command>show</command> command, limit display to certain
1ff636
-          properties as specified as argument. If not specified, all
1ff636
-          set properties are shown. The argument should be a
1ff636
+          <command>show</command> command, limit display to properties
1ff636
+          specified in the argument. The argument should be a
1ff636
           comma-separated list of property names, such as
1ff636
-          <literal>MainPID</literal>. If specified more than once, all
1ff636
-          properties with the specified names are shown.</para>
1ff636
+          <literal>MainPID</literal>. Unless specified, all known
1ff636
+          properties are shown. If specified more than once, all
1ff636
+          properties with the specified names are shown. Shell
1ff636
+          completion is implemented for property names.</para>
1ff636
+
1ff636
+          <para>For the manager itself,
1ff636
+          <command>systemctl show</command> will show all available
1ff636
+          properties. Those properties are documented in
1ff636
+          <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
1ff636
+          </para>
1ff636
+
1ff636
+          <para>Properties for units vary by unit type, so showing any
1ff636
+          unit (even a non-existent one) is a way to list properties
1ff636
+          pertaining to this type. Similarly showing any job will list
1ff636
+          properties pertaining to all jobs. Properties for units are
1ff636
+          documented in
1ff636
+          <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
1ff636
+          and the pages for individual unit types
1ff636
+          <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
1ff636
+          <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
1ff636
+          etc.</para>
1ff636
         </listitem>
1ff636
       </varlistentry>
1ff636