summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeyh <joeyh>2006-06-25 02:12:31 +0000
committerjoeyh <joeyh>2006-06-25 02:12:31 +0000
commit876016dc3a12a333c485841c277b7d653b9717d0 (patch)
tree1ba9c7c624696fd5a2989053a1eb9aee80650aae
parent561410533b010dd20358211c8e6265769806130e (diff)
downloadmoreutils-876016dc3a12a333c485841c277b7d653b9717d0.tar.gz
* zrun: Add usage message.
-rwxr-xr-xcombine2
-rw-r--r--debian/changelog3
-rwxr-xr-xzrun4
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 <joeyh@debian.org> Tue, 30 May 2006 11:53:42 -0400
+ -- Joey Hess <joeyh@debian.org> 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 <command> <args>\n";
+}
+
my @argument;
my %child;
foreach my $argument (@ARGV) {