mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Don't warn about generating reST script documentation for stdin
This commit is contained in:
parent
5183ab409b
commit
7593d4d368
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ BroDoc::BroDoc(const std::string& sourcename)
|
|||
std::string ext = source_filename.substr(ext_pos + 1);
|
||||
if ( ext_pos == std::string::npos || ext != "bro" )
|
||||
{
|
||||
if ( source_filename != "bro.init" )
|
||||
if ( source_filename != "bro.init" && source_filename != "<stdin>" )
|
||||
{
|
||||
fprintf(stderr,
|
||||
"Warning: documenting file without .bro extension: %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue