escape: fix systemd-escape description text
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Jul 2017 16:39:18 +0000 (18:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 31 Jul 2017 16:01:42 +0000 (18:01 +0200)
The long man page paragraph got it right: the tool is for escaping systemd unit
names, not just system unit names. Also fix the short man page paragraph
and the --help text.

Follow-up for 303608c1bcf9568371625fbbd9442946cadba422

man/systemd-escape.xml
src/escape/escape.c

index bb4c7e4..fb20d2d 100644 (file)
@@ -45,7 +45,7 @@
 
   <refnamediv>
     <refname>systemd-escape</refname>
-    <refpurpose>Escape strings for usage in system unit names</refpurpose>
+    <refpurpose>Escape strings for usage in systemd unit names</refpurpose>
   </refnamediv>
 
   <refsynopsisdiv>
index 89e885d..5518c2a 100644 (file)
@@ -38,7 +38,7 @@ static bool arg_path = false;
 
 static void help(void) {
         printf("%s [OPTIONS...] [NAME...]\n\n"
-               "Escape strings for usage in system unit names.\n\n"
+               "Escape strings for usage in systemd unit names.\n\n"
                "  -h --help               Show this help\n"
                "     --version            Show package version\n"
                "     --suffix=SUFFIX      Unit suffix to append to escaped strings\n"