]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
plymouth-populate-initrd: Fix usage message
authorRay Strode <rstrode@redhat.com>
Mon, 25 Dec 2023 16:07:47 +0000 (11:07 -0500)
committerRay Strode <rstrode@redhat.com>
Mon, 25 Dec 2023 16:07:47 +0000 (11:07 -0500)
It currently says the scripts name is `plymouth` not
`plymouth-populate-initrd`.

This commit changes it to use $0

scripts/plymouth-populate-initrd.in

index 1c29e4c764551279cee8ad7eedb25cb3c002f2a4..8ccac22c637dd4f4228e24e798b537323587ee72 100755 (executable)
@@ -424,7 +424,7 @@ function usage() {
         rc=1
     fi
 
-    echo "usage: plymouth [ --verbose | -v ] { --targetdir | -t } <initrd_directory> { --x11-directory | -x } <x11_directory>" > $output
+    echo "usage: $0 [ --verbose | -v ] { --targetdir | -t } <initrd_directory> { --x11-directory | -x } <x11_directory>" > $output
     exit $rc
 }