930e1b8
From 04547df8f2b71ec3fb4e18e9363da583264a3915 Mon Sep 17 00:00:00 2001
930e1b8
From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com>
930e1b8
Date: Thu, 31 Oct 2013 14:36:41 +0100
930e1b8
Subject: [PATCH] man: explain NAME in systemctl man page
930e1b8
930e1b8
---
930e1b8
 man/systemctl.xml | 13 +++++++++++++
930e1b8
 1 file changed, 13 insertions(+)
930e1b8
930e1b8
diff --git a/man/systemctl.xml b/man/systemctl.xml
930e1b8
index e789d4b..166282c 100644
930e1b8
--- a/man/systemctl.xml
930e1b8
+++ b/man/systemctl.xml
930e1b8
@@ -63,6 +63,19 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
930e1b8
     introspect and control the state of the
930e1b8
     <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
930e1b8
     system and service manager.</para>
930e1b8
+
930e1b8
+    <para>For Unit Commands the <replaceable>NAME</replaceable> represents full name of unit.
930e1b8
+    <programlisting>
930e1b8
+systemctl start foo.service
930e1b8
+    </programlisting>
930e1b8
+    For Unit File Commands the <replaceable>NAME</replaceable> represents full name of the unit file, or absolute path to the unit file.
930e1b8
+    <programlisting>
930e1b8
+systemctl start /path/to/foo.service
930e1b8
+    </programlisting>
930e1b8
+    While working with services/service files, <command>systemctl</command> is able to append .service suffix when it is missing.
930e1b8
+    <programlisting>
930e1b8
+systemctl start foo
930e1b8
+    </programlisting></para>
930e1b8
   </refsect1>
930e1b8
 
930e1b8
   <refsect1>