ascii format: warning message needs to be in ASCII as well
This commit is contained in:
parent
354ea74246
commit
218faee06a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=53058
1 changed files with 4 additions and 0 deletions
|
@ -1449,6 +1449,10 @@ sub man {
|
||||||
&proc( *MAN, $command{'man'}, @manargs, "--", $name )
|
&proc( *MAN, $command{'man'}, @manargs, "--", $name )
|
||||||
|| &mydie("$0: open of $command{'man'} command failed: $!\n");
|
|| &mydie("$0: open of $command{'man'} command failed: $!\n");
|
||||||
if ( eof(MAN) ) {
|
if ( eof(MAN) ) {
|
||||||
|
if ( $format eq "ascii" ) {
|
||||||
|
print "Sorry, no data found for '$html_name'\n";
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
# print "X $command{'man'} @manargs -- x $name x\n";
|
# print "X $command{'man'} @manargs -- x $name x\n";
|
||||||
print qq{</pre>\n};
|
print qq{</pre>\n};
|
||||||
|
|
Loading…
Reference in a new issue