fix usage line in MX::Getopt scripts
[gitmo/MooseX-Runnable.git] / bin / mx-run
index 3bad429..192f81d 100644 (file)
@@ -13,6 +13,8 @@ sub run {
     unshift @INC, $_ for @$includes;
     help() unless $app;
 
+    local $0 = "mx-run ... $app";
+
     return MooseX::Runnable::Invocation->new(
         class   => $app,
         plugins => $plugins || [],