Skip to content

Commit 2ee358d

Browse files
antonbaliasnikovhedgar2017
authored andcommitted
docs: add text specifier for output to fix mdbook test (#184)
1 parent 0d89274 commit 2ee358d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/src/02-command-line-interface.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ zksolc './Simple.sol' --bin
5252

5353
Output:
5454

55-
```
55+
```text
5656
======= Simple.sol:Simple =======
5757
Binary:
5858
0000008003000039000000400030043f0000000100200190000000130000c13d...
@@ -66,7 +66,7 @@ zksolc './Simple.sol'
6666

6767
Output:
6868

69-
```
69+
```text
7070
Compiler run successful. No output requested. Use flags --metadata, --asm, --bin.
7171
```
7272

@@ -116,7 +116,7 @@ zksolc Simple.sol --asm
116116

117117
Output:
118118

119-
```
119+
```text
120120
======= Simple.sol:Simple =======
121121
EraVM assembly:
122122
.text
@@ -151,7 +151,7 @@ zksolc Simple.sol --metadata
151151

152152
Output:
153153

154-
```
154+
```text
155155
======= Simple.sol:Simple =======
156156
Metadata:
157157
{"llvm_options":[],"optimizer_settings":{"is_debug_logging_enabled":false,"is_fallback_to_size_enabled":false,"is_verify_each_enabled":false,"level_back_end":"Aggressive","level_middle_end":"Aggressive","level_middle_end_size":"Zero"},"solc_version":"<masked>","solc_zkvm_edition":null,"source_metadata":{...},"zk_version":"<masked>"}
@@ -200,7 +200,7 @@ zksolc --yul Simple.yul --bin
200200

201201
Output:
202202

203-
```
203+
```text
204204
======= Simple.yul =======
205205
Binary:
206206
0000000100200190000000060000c13d0000002a01000039000000000010043f...
@@ -230,7 +230,7 @@ zksolc --llvm-ir Simple.ll --bin
230230

231231
Output:
232232

233-
```
233+
```text
234234
======= Simple.ll =======
235235
Binary:
236236
000000000002004b000000070000613d0000002001000039000000000010043f...
@@ -254,7 +254,7 @@ zksolc --eravm-assembly Simple.zasm --bin
254254

255255
Output:
256256

257-
```
257+
```text
258258
======= Simple.zasm =======
259259
Binary:
260260
000000000120008c000000070000613d00000020010000390000000000100435...
@@ -294,7 +294,7 @@ cat './input.hex'
294294

295295
Output:
296296

297-
```
297+
```text
298298
0x0000008003000039000000400030043f0000000100200190000000140000c13d00000000020...
299299
```
300300

@@ -307,7 +307,7 @@ zksolc --disassemble './input.hex'
307307

308308
Output:
309309

310-
```
310+
```text
311311
File `input.hex` disassembly:
312312
313313
0: 00 00 00 80 03 00 00 39 add 128, r0, r3
@@ -350,7 +350,7 @@ zksolc Simple.sol --bin --target evm
350350

351351
Output:
352352

353-
```
353+
```text
354354
======= Simple.sol:Simple =======
355355
Binary:
356356
5b60806040523415600e575f5ffd5b630000007f630000002760808282823960808092505050f35b5f5f6080604052369150600482106032575f3560e01c9050633df4ddf48114603657635a8ac02d81811480915050605a575b5f5ffd5b3415603f575f5ffd5b60015f036004830313604f575f5ffd5b602a60805260206080f35b34156063575f5ffd5b60015f0360048303136073575f5ffd5b60405160638152602090f3

0 commit comments

Comments
 (0)