summaryrefslogtreecommitdiff
path: root/bin/analyze-kconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/analyze-kconfig.py')
-rwxr-xr-xbin/analyze-kconfig.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py
index c369c05..b333613 100755
--- a/bin/analyze-kconfig.py
+++ b/bin/analyze-kconfig.py
@@ -592,7 +592,13 @@ def main():
if args.export_json:
with open(args.export_json, "w") as f:
- json.dump(model.to_json(), f, sort_keys=True, cls=dfatool.utils.NpEncoder)
+ json.dump(
+ model.to_json(),
+ f,
+ sort_keys=True,
+ cls=dfatool.utils.NpEncoder,
+ indent=2,
+ )
if args.config:
kconf = kconfiglib.Kconfig(args.kconfig_path)