Skip to content

Commit b384834

Browse files
committed
Print macros in a readable way
1 parent aac1099 commit b384834

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/get_config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@
7373

7474
print("Macros")
7575
print("------")
76-
if macros:
77-
print('Defined with "macros":', Config.config_macros_to_macros(macros))
78-
print("Generated from configuration parameters:", Config.parameters_to_macros(params))
76+
for m in Config.config_macros_to_macros(macros):
77+
print(m)
7978

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

0 commit comments

Comments
 (0)