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}
156
156
```
157
157
This command does not synthesize the program circuit or generate proving and verifying keys.
158
158
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
159
164
160
165
``` bash title="console output:"
161
166
Leo ✅ Compiled ' main.leo' into Aleo instructions
@@ -169,6 +174,13 @@ This command does not synthesize the program circuit or generate proving and ver
169
174
Leo ✅ Finished ' hello.aleo/main' (in " /hello/build" )
170
175
```
171
176
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
+
172
184
## ` leo execute `
173
185
[ Back to Top] ( #commands )
174
186
::: tip
@@ -320,4 +332,4 @@ Checking latest released version... v1.8.3
320
332
321
333
:::warning
322
334
` 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