diff --git a/lib/cli.py b/lib/cli.py
index 4e6da3913ae6a6598e4debebc4951321b73f395c..e52f8e5a961e51aa2e3b21f13685f5c52ef4cf19 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -1548,7 +1548,7 @@ def SubmitOpCode(op, cl=None, feedback_fn=None, opts=None, reporter=None):
 
   SetGenericOpcodeOpts([op], opts)
 
-  job_id = SendJob([op], cl)
+  job_id = SendJob([op], cl=cl)
 
   op_results = PollJob(job_id, cl=cl, feedback_fn=feedback_fn,
                        reporter=reporter)