From 0c09f3486fa4db0e2f4f5ee415b846107cceace6 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 23 May 2024 15:13:47 +0200 Subject: Support CSV exports in UNIX dialect (without CRLF) via --export-csv-dialect --- bin/analyze-archive.py | 4 +++- bin/analyze-kconfig.py | 4 +++- bin/analyze-log.py | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/analyze-archive.py b/bin/analyze-archive.py index 53a8c37..0587ce1 100755 --- a/bin/analyze-archive.py +++ b/bin/analyze-archive.py @@ -426,7 +426,9 @@ def main(): dfatool.cli.print_info_by_name(model, by_name) if args.export_csv_unparam: - dfatool.cli.export_csv_unparam(model, args.export_csv_unparam) + dfatool.cli.export_csv_unparam( + model, args.export_csv_unparam, dialect=args.export_csv_dialect + ) if args.export_pgf_unparam: dfatool.cli.export_pgf_unparam(model, args.export_pgf_unparam) diff --git a/bin/analyze-kconfig.py b/bin/analyze-kconfig.py index d148641..da58bc7 100755 --- a/bin/analyze-kconfig.py +++ b/bin/analyze-kconfig.py @@ -354,7 +354,9 @@ def main(): dfatool.cli.print_info_by_name(model, by_name) if args.export_csv_unparam: - dfatool.cli.export_csv_unparam(model, args.export_csv_unparam) + dfatool.cli.export_csv_unparam( + model, args.export_csv_unparam, dialect=args.export_csv_dialect + ) if args.export_pgf_unparam: dfatool.cli.export_pgf_unparam(model, args.export_pgf_unparam) diff --git a/bin/analyze-log.py b/bin/analyze-log.py index dd32fab..a394b10 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -125,7 +125,9 @@ def main(): dfatool.cli.print_info_by_name(model, by_name) if args.export_csv_unparam: - dfatool.cli.export_csv_unparam(model, args.export_csv_unparam) + dfatool.cli.export_csv_unparam( + model, args.export_csv_unparam, dialect=args.export_csv_dialect + ) if args.export_pgf_unparam: dfatool.cli.export_pgf_unparam(model, args.export_pgf_unparam) -- cgit v1.2.3