mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 10:07:48 -06:00
fix: read shared cli options in the doc page check
This commit is contained in:
1 parent
3869a24b6a
commit
8ec1c3aa2f
1 file changed
+1
-1
@@ -1032,7 +1032,7 @@ def unknown_commands(text: str) -> list[str]:
|
||||
wrong.extend(
|
||||
f"{name} {option}"
|
||||
for option in re.findall(r"(?<![\w-])(--[a-z][a-z0-9-]*)", command)
|
||||
if f'"{option}"' not in source
|
||||
if f'"{option}"' not in source and option not in declared_options(source)
|
||||
)
|
||||
return sorted(set(wrong))
|
||||
|
||||
|
||||
Reference in new issue
Block a user