9ecd5b8
From 259513092491da54112757e72c4cfd3d7c1fe9a8 Mon Sep 17 00:00:00 2001
9ecd5b8
From: Chris Atkinson <cwa@pipeline.com>
9ecd5b8
Date: Fri, 28 Nov 2014 15:27:56 -0500
9ecd5b8
Subject: [PATCH] man: update description of default extension for isolate
9ecd5b8
9ecd5b8
(cherry picked from commit 507e28d844e335fe9fc84b549577fcce398f3a5d)
9ecd5b8
---
9ecd5b8
 man/systemctl.xml | 8 +++++---
9ecd5b8
 1 file changed, 5 insertions(+), 3 deletions(-)
9ecd5b8
9ecd5b8
diff --git a/man/systemctl.xml b/man/systemctl.xml
9ecd5b8
index 2dcd44f98a..9b44537667 100644
9ecd5b8
--- a/man/systemctl.xml
9ecd5b8
+++ b/man/systemctl.xml
9ecd5b8
@@ -705,7 +705,9 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
9ecd5b8
 
9ecd5b8
           <listitem>
9ecd5b8
             <para>Start the unit specified on the command line and its
9ecd5b8
-            dependencies and stop all others.</para>
9ecd5b8
+            dependencies and stop all others. If a unit name with no
9ecd5b8
+            extension is given, an extension of
9ecd5b8
+            <literal>.target</literal> will be assumed.</para>
9ecd5b8
 
9ecd5b8
             <para>This is similar to changing the runlevel in a
9ecd5b8
             traditional init system. The <command>isolate</command>
9ecd5b8
@@ -1592,9 +1594,9 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
9ecd5b8
       <programlisting># systemctl start sshd</programlisting> and
9ecd5b8
       <programlisting># systemctl start sshd.service</programlisting>
9ecd5b8
       are equivalent, as are
9ecd5b8
-      <programlisting># systemctl isolate snapshot-11</programlisting>
9ecd5b8
+      <programlisting># systemctl isolate default</programlisting>
9ecd5b8
       and
9ecd5b8
-      <programlisting># systemctl isolate snapshot-11.snapshot</programlisting>
9ecd5b8
+      <programlisting># systemctl isolate default.target</programlisting>
9ecd5b8
       Note that (absolute) paths to device nodes are automatically
9ecd5b8
       converted to device unit names, and other (absolute) paths to
9ecd5b8
       mount unit names.