Skip to content

Commit b818923

Browse files
committed
doc: Fix function indent
1 parent e97e915 commit b818923

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/usage.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -462,19 +462,19 @@ Produce a diff between `$a` and `$b`. Differences are represented as a object `{
462462
#### `band`, `bor`, `bxor`, `bsl`, `bsr`, `bnot`.
463463
Bitwise functions. Works the same as jq math functions. Functions with no arguments like `1 | bnot` uses only input, functions with more than one argument ignores input, `bsl(1; 3)`.
464464

465-
### `repl`/`repl($opts)`
465+
#### `repl`/`repl($opts)`
466466
Nested REPL. Must be last in a pipeline. `1 | repl`, can "slurp" outputs. Ex: `1, 2, 3 | repl`, `[1,2,3] | repl({compact: true})`.
467467

468-
### `slurp("<name>")`
468+
#### `slurp("<name>")`
469469
Slurp outputs and save them to `$name`. Must be last in the pipeline. Will be available as a global array `$name`. Ex `1,2,3 | slurp("a")`, `$a[]` same as `spew("a")`.
470470

471-
### `spew`/`spew("<name>")`
471+
#### `spew`/`spew("<name>")`
472472
Output previously slurped values.
473473

474-
### `spew`
474+
#### `spew`
475475
Outputs all slurps as an object. `spew("<name>")` outputs one slurp. Ex: `spew("a")`.
476476

477-
### `paste`
477+
#### `paste`
478478
Read string from stdin until ^D. Useful for pasting text. Ex: `paste | from_pem | asn1_ber | repl` read from stdin then decode and start a new sub-REPL with result.
479479

480480
### Format decode functions

0 commit comments

Comments
 (0)