Skip to content

Commit 2beb316

Browse files
authored
docs: document missing cairo-run command-line options (#9018)
1 parent 2104b1f commit 2beb316

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crates/cairo-lang-runner/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ fn fib(a: u128, b: u128, n: u128) -> u128 {
2929
}
3030
```
3131

32+
# Command-Line Options
33+
34+
- `--single-file` - Treat the path as a single file instead of a project directory.
35+
- `--available-gas <amount>` - Set the amount of gas available for execution.
36+
- `--print-full-memory` - Print the full memory state after execution.
37+
- `--allow-warnings` - Allow the compilation to succeed even with warnings.
38+
- `--run-profiler` - Run the profiler and display profiling information.
39+
3240
# Additional Information
3341

3442
- When compiling with --available-gas, if there are cycles in the code, calls to

0 commit comments

Comments
 (0)