]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
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 bb4c7e48e5ab682676df6150e724e59e0e7e5a9a..fb20d2d94fe8fc45a6701c5cf597e86d1249eb09 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 89e885d47c838795e5ef6f9d2b31625565c5843e..5518c2a6facd8034a3100532bc1b053f244113b7 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"