X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fhelp.pl;h=d3a2b2683dcb6abd826fabddac51c3ac255f5588;hb=9c1c3d6366ec08c767170e5ba478ac34a563032d;hp=b44457b8b81bb8fe6721344781616ce9f85e863a;hpb=d0e9787ea8e709d8cbd91e87e363812e669c0ca6;p=spider.git diff --git a/cmd/help.pl b/cmd/help.pl index b44457b8..d3a2b268 100644 --- a/cmd/help.pl +++ b/cmd/help.pl @@ -31,6 +31,9 @@ $lang = 'en' if !$lang; # The fields are:- privilege level, full command name, short description # +$DB::single = 1; + + my $defh = new IO::File; unless ($defh->open("$main::localcmd/Commands_en.hlp")) { unless($defh->open("$main::cmd/Commands_en.hlp")) { @@ -39,7 +42,7 @@ unless ($defh->open("$main::localcmd/Commands_en.hlp")) { } my $h; -unless ($lang ne 'en') { +if ($lang ne 'en') { $h = new IO::File; unless ($h->open("$main::localcmd/Commands_$lang.hlp")) { unless($h->open("$main::cmd/Commands_$lang.hlp")) {