mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-01 16:13:45 +00:00
log_help.cc: Fix source_location on option
This commit is contained in:
parent
2da7627491
commit
625eae987f
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ void ContentListing::usage(const string &text,
|
||||||
void ContentListing::option(const string &text, const string &description,
|
void ContentListing::option(const string &text, const string &description,
|
||||||
const source_location location)
|
const source_location location)
|
||||||
{
|
{
|
||||||
auto option = open_option(text);
|
auto option = open_option(text, location);
|
||||||
if (description.length())
|
if (description.length())
|
||||||
option->add_content("text", description, location);
|
option->add_content("text", description, location);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue