Subject: | spurious message when mvs is run without parameter |
when running mvs without any parameter, spurious error are shown :
$ /usr/bin/mvs.bak
Use of uninitialized value in string eq at /usr/bin/mvs.bak line 177.
Use of uninitialized value in string eq at /usr/bin/mvs.bak line 193.
Use of uninitialized value in string eq at /usr/bin/mvs.bak line 193.
Use of uninitialized value in string eq at /usr/bin/mvs.bak line 193.
Usage:
mvs [Options] command [Options] [filename]
mvs -h|--help
mvs --version
I have a patch to remove those.
--- mvs.bak 2005-10-03 18:43:26.995777352 +0200
+++ mvs 2005-10-03 18:44:00.527679728 +0200
@@ -172,7 +172,7 @@
sub parse_options {
my $command = shift;
local @ARGV = @{$_[0]};
-
+ $command ||= "";
my @addit;
@addit = (
'host|d=s' => \$opt_host,