Skip to content

Commit a6d481b

Browse files
committed
Minor documentation updates
1 parent 4ff2494 commit a6d481b

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
`celq` reads JSON from the input and lets users process it with CEL:
88

99
```bash
10-
echo '["apples", "bananas", "blueberry"]' | celq 'this.filter(x, x.contains("a"))'
10+
echo '["apples", "bananas", "blueberry"]' | celq 'this.filter(s, s.contains("a"))'
1111
# Outputs: ["apples","bananas"]
1212
```
1313

docs/manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Options:
3737
`celq` reads JSON from the input and lets users process it with CEL:
3838

3939
```bash
40-
echo '["apples", "bananas", "blueberry"]' | celq 'this.filter(x, x.contains("a"))'
40+
echo '["apples", "bananas", "blueberry"]' | celq 'this.filter(s, s.contains("a"))'
4141
# Outputs: ["apples","bananas"]
4242
```
4343

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ fn main() -> io::Result<()> {
3030
let program = match compile_expression(cli.expression.as_deref(), cli.from_file.as_ref()) {
3131
Ok(prog) => prog,
3232
Err(err) => {
33-
// Preserve your existing error-reporting behavior
3433
if let Some(parse_errors) = err.downcast_ref::<ParseErrors>() {
3534
for error in &parse_errors.errors {
3635
eprintln!(" Error: {:?}", error);

0 commit comments

Comments
 (0)