diff options
author | joeyh <joeyh> | 2006-06-25 02:12:31 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2006-06-25 02:12:31 +0000 |
commit | 876016dc3a12a333c485841c277b7d653b9717d0 (patch) | |
tree | 1ba9c7c624696fd5a2989053a1eb9aee80650aae | |
parent | 561410533b010dd20358211c8e6265769806130e (diff) | |
download | moreutils-876016dc3a12a333c485841c277b7d653b9717d0.tar.gz |
* zrun: Add usage message.
-rwxr-xr-x | combine | 2 | ||||
-rw-r--r-- | debian/changelog | 3 | ||||
-rwxr-xr-x | zrun | 4 |
3 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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) { |