]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[set-default-theme] Call usage function in --help
authorRay Strode <rstrode@redhat.com>
Sat, 5 Dec 2009 17:08:53 +0000 (12:08 -0500)
committerRay Strode <rstrode@redhat.com>
Sat, 5 Dec 2009 17:08:53 +0000 (12:08 -0500)
This way the top line of the help output gives usage.

scripts/plymouth-set-default-theme.in

index 195940dfd3481c626d33f27617f30dc2b342d1bd..1929f00d88199962f140ca30d79628ca818357e6 100755 (executable)
@@ -22,7 +22,7 @@ function usage ()
 function show_help() {
   cat <<EOF
 
-    ${0##*/} [opt]
+    $(usage)
 
      --help             show this help message
      --list             show available themes