svn commit: r50748 - head/en_US.ISO8859-1/htdocs/cgi

Wolfram Schneider wosch at FreeBSD.org
Sun Aug 27 17:46:39 UTC 2017


Author: wosch
Date: Sun Aug 27 17:46:37 2017
New Revision: 50748
URL: https://svnweb.freebsd.org/changeset/doc/50748

Log:
  fix empty input message

Modified:
  head/en_US.ISO8859-1/htdocs/cgi/man.cgi

Modified: head/en_US.ISO8859-1/htdocs/cgi/man.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:35 2017	(r50747)
+++ head/en_US.ISO8859-1/htdocs/cgi/man.cgi	Sun Aug 27 17:46:37 2017	(r50748)
@@ -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;
     }
 


More information about the svn-doc-all mailing list