Skip to content

Commit

Permalink
Refine help info for csv2json
Browse files Browse the repository at this point in the history
  • Loading branch information
KanRobert committed Sep 7, 2024
1 parent 509c650 commit c5568a5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions csv2json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit c5568a5

Please sign in to comment.