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

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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;
     }
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.