Skip to content

Commit

Permalink
README.md: update example usage
Browse files Browse the repository at this point in the history
Now both examples/null and examples/loop uses clap for parsing command
line, and there is also detailed command help.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
  • Loading branch information
ming1 committed Oct 22, 2023
1 parent d14f5ae commit 3c5f279
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,11 @@ queue's depth is 64.

### loop

- add one loop ublk device
cargo run \--example loop help

cargo run \--example loop \-- add \${backing_file_path}
### null

- del one loop ublk device

cargo run \--example loop \-- del \[dev_id\]
cargo run \--example null help

## License

Expand Down

0 comments on commit 3c5f279

Please sign in to comment.