@@ -82,10 +82,12 @@ def build_cli_parser(self, parser):
8282 submit_subparser = action_argument .add_parser (
8383 "submit" , help = inspect .getdoc (self .submit ).splitlines ()[0 ]) # type: ignore
8484 submit_subparser .add_argument (
85- "--dry-run" , help = argparse .SUPPRESS ,
85+ "--dry-run" ,
86+ help = "Build but do not submit design to cloud. Will output `rtlil` and `config` files." ,
8687 default = False , action = "store_true" )
8788 submit_subparser .add_argument (
88- "--wait" , help = argparse .SUPPRESS ,
89+ "--wait" ,
90+ help = "Maintain connection to cloud and trace build messages. Filtering is based on the log level (see `verbose` option)." ,
8991 default = False , action = "store_true" )
9092
9193 def run_cli (self , args ):
@@ -172,10 +174,11 @@ def submit(self, rtlil_path, args):
172174 logger .debug (f"data=\n { json .dumps (data , indent = 2 )} " )
173175 logger .debug (f"files['config']=\n { config } " )
174176 shutil .copyfile (rtlil_path , 'rtlil' )
175- with open ("data " , 'w' ) as f :
177+ with open ("rtlil " , 'w' ) as f :
176178 json .dump (data , f )
177179 with open ("config" , 'w' ) as f :
178180 f .write (config )
181+ sp .info (f"Compiled design and configuration can be found in in `rtlil` and `config`" )
179182 return
180183
181184 def network_err (e ):
0 commit comments