Skip to content

Commit c3b9cbe

Browse files
committed
Heed filters in macro printing
1 parent b384834 commit c3b9cbe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/get_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
print("Macros")
7575
print("------")
7676
for m in Config.config_macros_to_macros(macros):
77-
print(m)
77+
if any(m.startswith(s) for s in options.prefix):
78+
print(m)
7879

7980
except KeyboardInterrupt as e:
8081
print("\n[CTRL+c] exit")

0 commit comments

Comments
 (0)