File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,11 @@ leo run {$TRANSITION} {$INPUTS}
156156```
157157This command does not synthesize the program circuit or generate proving and verifying keys.
158158
159+ For the default program created by ` leo new ` , this command
160+ ``` bash
161+ leo run main 1u32 2u32
162+ ```
163+ will generate this output
159164
160165``` bash title="console output:"
161166 Leo ✅ Compiled ' main.leo' into Aleo instructions
@@ -169,6 +174,13 @@ This command does not synthesize the program circuit or generate proving and ver
169174 Leo ✅ Finished ' hello.aleo/main' (in " /hello/build" )
170175```
171176
177+ If one or more of your inputs are negatives, and consequently begin with a ` - ` ,
178+ you may separate the inputs with a ` -- ` so that the command line parser
179+ won't attempt to parse them as options:
180+ ``` bash
181+ leo run ${TRANSITION} -- {$INPUTS }
182+ ```
183+
172184## ` leo execute `
173185[ Back to Top] ( #commands )
174186::: tip
@@ -320,4 +332,4 @@ Checking latest released version... v1.8.3
320332
321333:::warning
322334` leo example` has been deprecated and will no longer be supported.
323- :::
335+ :::
You can’t perform that action at this time.
0 commit comments