3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-24 22:51:34 +00:00

log_help.cc: Fix source_location on option

This commit is contained in:
Krystine Sherwin 2025-11-14 14:31:28 +13:00
parent 2da7627491
commit 625eae987f
No known key found for this signature in database

View file

@ -44,7 +44,7 @@ void ContentListing::usage(const string &text,
void ContentListing::option(const string &text, const string &description,
const source_location location)
{
auto option = open_option(text);
auto option = open_option(text, location);
if (description.length())
option->add_content("text", description, location);
}