From c5568a53cadc6497b4e3709ab51eba67812770e3 Mon Sep 17 00:00:00 2001 From: Shengchen Kan Date: Sat, 7 Sep 2024 15:37:35 +0800 Subject: [PATCH] Refine help info for csv2json --- csv2json.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/csv2json.py b/csv2json.py index 9b15703..315201b 100755 --- a/csv2json.py +++ b/csv2json.py @@ -31,8 +31,7 @@ def covert_csv_to_json(csv_files): if __name__ == '__main__': parser = argparse.ArgumentParser( - description='Convert CSV files to a single JSON file.') - parser.add_argument('csv_file', action='store', nargs='+', help='Input CSV files') + description='Combine *.bb/insn/global.csv files to a single file *.json.') + parser.add_argument('csv_file', nargs='+', help='Input CSV files') args = parser.parse_args() - csv_files = args.csv_file - covert_csv_to_json(csv_files) + covert_csv_to_json(args.csv_file)