From 876016dc3a12a333c485841c277b7d653b9717d0 Mon Sep 17 00:00:00 2001 From: joeyh Date: Sun, 25 Jun 2006 02:12:31 +0000 Subject: [PATCH] * zrun: Add usage message. --- combine | 2 +- debian/changelog | 3 ++- zrun | 4 ++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/combine b/combine index fb29ad4..ef16aaf 100755 --- a/combine +++ b/combine @@ -122,7 +122,7 @@ if (@ARGV >= 4 && $ARGV[3] eq "_") { } if (@ARGV != 3) { - die "usage: combine file1 OP file2\n"; + die "Usage: combine file1 OP file2\n"; } my $file1=shift; diff --git a/debian/changelog b/debian/changelog index 43bf1e0..11f68e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ moreutils (0.12) UNRELEASED; urgency=low * Really fix typo. Closes: #369485 + * zrun: Add usage message. - -- Joey Hess Tue, 30 May 2006 11:53:42 -0400 + -- Joey Hess Sat, 24 Jun 2006 22:10:53 -0400 moreutils (0.11) unstable; urgency=low 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 \n"; +} + my @argument; my %child; foreach my $argument (@ARGV) { -- 2.39.5