summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-10 21:47:07 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-10 23:48:50 +0100
commit1534e170b495acf38e4540b9624fcb71b86cfdbf (patch)
tree5524edb7c998927cfc7b82aa5f2ebb851fe41fdd
parent358a9d51147f721c3e1701ea7df3522ca049254c (diff)
man: document that "systemctl enable" supports abbreviated unit file names
Fixes: #1502
-rw-r--r--man/systemctl.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index cce7861139..51742bfaa6 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -1703,7 +1703,7 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
unit specifications (designated as
<replaceable>PATTERN</replaceable>...). In the first case, the
unit name with or without a suffix must be given. If the suffix
- is not specified, systemctl will append a suitable suffix,
+ is not specified ("abbreviated"), systemctl will append a suitable suffix,
<literal>.service</literal> by default, and a type-specific
suffix in case of commands which operate only on specific unit
types. For example,
@@ -1740,9 +1740,8 @@ kobject-uevent 1 systemd-udevd-kernel.socket systemd-udevd.service
loaded are not considered for glob expansion.
</para>
- <para>For unit file commands, the specified
- <replaceable>NAME</replaceable> should be the full name of the
- unit file, or the absolute path to the unit file:
+ <para>For unit file commands, the specified <replaceable>NAME</replaceable> should be the name of the unit file
+ (possibly abbreviated, see above), or the absolute path to the unit file:
<programlisting># systemctl enable foo.service</programlisting>
or
<programlisting># systemctl link /path/to/foo.service</programlisting>