diff options
Diffstat (limited to 'tools/regenerate_docs.py')
-rwxr-xr-x | tools/regenerate_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regenerate_docs.py b/tools/regenerate_docs.py index b9b994a..2765836 100755 --- a/tools/regenerate_docs.py +++ b/tools/regenerate_docs.py @@ -94,7 +94,7 @@ def get_commands_data(root_dir: Path) -> T.Dict[str, T.Any]: return out output = _get_meson_output(root_dir, ['--help']) - commands = set(c.strip() for c in re.findall(r'usage:(?:.+)?{((?:[a-z]+,*)+?)}', output, re.MULTILINE|re.DOTALL)[0].split(',')) + commands = {c.strip() for c in re.findall(r'usage:(?:.+)?{((?:[a-z]+,*)+?)}', output, re.MULTILINE|re.DOTALL)[0].split(',')} commands.remove('help') cmd_data = dict() |