diff options
author | Wolfram Schneider <wosch@FreeBSD.org> | 2017-08-27 17:46:37 +0000 |
---|---|---|
committer | Wolfram Schneider <wosch@FreeBSD.org> | 2017-08-27 17:46:37 +0000 |
commit | 0a2d1d5067ea0303a3ae3c9160f6e590c6a3da25 (patch) | |
tree | a4bb1a0102bb5a805d109ffd65fde594709a0f3f | |
parent | d08ff7efa42cbfdb18efac4edf48f282425cad32 (diff) | |
download | doc-0a2d1d5067ea0303a3ae3c9160f6e590c6a3da25.tar.gz doc-0a2d1d5067ea0303a3ae3c9160f6e590c6a3da25.zip |
fix empty input message
Notes
Notes:
svn path=/head/; revision=50748
-rwxr-xr-x | en_US.ISO8859-1/htdocs/cgi/man.cgi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/en_US.ISO8859-1/htdocs/cgi/man.cgi b/en_US.ISO8859-1/htdocs/cgi/man.cgi index d9341e660c..10d8a0d6f9 100755 --- a/en_US.ISO8859-1/htdocs/cgi/man.cgi +++ b/en_US.ISO8859-1/htdocs/cgi/man.cgi @@ -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; } |