File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -624,7 +624,7 @@ def main() -> None: # noqa: D103
624624 description = """Given a json profile output, generate a html file showing the query graph and
625625 timings of operators""" ,
626626 )
627- parser .add_argument ("profile_input" , help = "profile input in json" )
627+ parser .add_argument ("-- profile_input" , help = "profile input in json" )
628628 parser .add_argument ("--out" , required = False , default = False )
629629 parser .add_argument ("--open" , required = False , action = "store_true" , default = True )
630630 args = parser .parse_args ()
@@ -646,7 +646,7 @@ def main() -> None: # noqa: D103
646646
647647 open_output = args .open
648648
649- translate_json_to_html (input , output )
649+ translate_json_to_html (input_file = input , output_file = output )
650650
651651 if open_output :
652652 webbrowser .open (f"file://{ Path (output ).resolve ()} " , new = 2 )
You can’t perform that action at this time.
0 commit comments