fix empty input message

This commit is contained in:
Wolfram Schneider 2017-08-27 17:46:37 +00:00
parent d08ff7efa4
commit 0a2d1d5067
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50748

View file

@ -1297,7 +1297,10 @@ sub man {
#print Dumper($sectionpath);
#print "yy $section yy $manpath\n";
if ( $name =~ /^\s*$/ ) {
print "Empty input, no man page given.\n";
print "</pre><hr/>";
print "Empty input. Please type a manual page and search again.\n";
print "<hr/>\n";
&html_footer;
return;
}