fix empty input message
This commit is contained in:
parent
d08ff7efa4
commit
0a2d1d5067
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50748
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue