weston-launch: Use "weston-launch" for --help instead of "weston".
authorScott Moreau <oreaus@gmail.com>
Tue, 22 Jan 2013 06:40:59 +0000 (23:40 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 24 Jan 2013 21:41:18 +0000 (16:41 -0500)
The output of weston-launch --help was "Usage: weston [args...] ...".
This changes it to read "Usage: weston-launch [args...] ...".

src/weston-launch.c

index 6d1f7c3..583e85a 100644 (file)
@@ -541,7 +541,7 @@ main(int argc, char *argv[])
                                sleep_fork = 10;
                        break;
                case 'h':
-                       help("weston");
+                       help("weston-launch");
                        exit(1);
                }
        }