Skip to content

Commit

Permalink
cli: Adjust shell complete cargo command to specify package
Browse files Browse the repository at this point in the history
The README for blazecli mentions how to build the shell-complete binary,
but the command for doing so is relative to the cli/ sub-directory.
That's not the case for other commands higher up in the README.
Add the necessary package specification to make this command behave as
the others.

Signed-off-by: Daniel Müller <deso@posteo.net>
  • Loading branch information
d-e-s-o committed Dec 4, 2023
1 parent 935387f commit 1534aee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ completion script can be generated via the `shell-complete` utility
program and then only needs to be sourced to make the current shell
provide context-sensitive tab completion support. E.g.,
```bash
$ cargo run --bin=shell-complete --features="clap_complete" -- bash > blazecli.bash
$ cargo run -p blazecli --bin=shell-complete --features="clap_complete" -- bash > blazecli.bash
$ source blazecli.bash
```

Expand Down

0 comments on commit 1534aee

Please sign in to comment.