summaryrefslogtreecommitdiff
path: root/zrun
diff options
context:
space:
mode:
Diffstat (limited to 'zrun')
-rwxr-xr-xzrun4
1 files changed, 4 insertions, 0 deletions
diff --git a/zrun b/zrun
index 8e6d159..7d313e2 100755
--- a/zrun
+++ b/zrun
@@ -36,6 +36,10 @@ use File::Temp qw{tempfile};
my $program = shift;
+if (! @ARGV) {
+ die "Usage: zrun <command> <args>\n";
+}
+
my @argument;
my %child;
foreach my $argument (@ARGV) {