Date: Sun, 27 Aug 2017 17:46:37 +0000 (UTC) From: Wolfram Schneider <wosch@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r50748 - head/en_US.ISO8859-1/htdocs/cgi Message-ID: <201708271746.v7RHkbu5072224@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708271746.v7RHkbu5072224>