Skip to content

Commit

Permalink
doc: Fix newlines in command
Browse files Browse the repository at this point in the history
When `clap` parses the the input, it uses `,` as the separator, having
additional spaces in-between elements breaks this parsing.

Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
  • Loading branch information
Jonathan Woollett-Light authored and pb8o committed Dec 4, 2023
1 parent a8c7caa commit 145488f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/tracing.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ To enable tracing in Firecracker, add instrumentation with:
clippy-tracing \
--action fix \
--path ./src \
--exclude \
benches,\
virtio/gen,bindings.rs,net/gen,\
log-instrument-macros/,log-instrument/,clippy-tracing/,\
vmm_config/logger.rs,logger/,signal_handler.rs,time.rs
--exclude benches \
--exclude virtio/gen,bindings.rs,net/gen \
--exclude log-instrument-macros/,log-instrument/,clippy-tracing/ \
--exclude vmm_config/logger.rs,logger/,signal_handler.rs,time.rs
```

`--exclude` can be used to avoid adding instrumentation to specific
Expand Down

0 comments on commit 145488f

Please sign in to comment.