Skip to content

Commit

Permalink
Use clap/wrap_help
Browse files Browse the repository at this point in the history
Although see clap-rs/clap#5022
  • Loading branch information
Xophmeister committed Jul 19, 2023
1 parent 53ff983 commit 8d7ad09
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
23 changes: 17 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion topiary-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ path = "src/main.rs"
[dependencies]
# For now we just load the tree-sitter language parsers statically.
# Eventually we will want to dynamically load them, like Helix does.
clap = { workspace = true, features = ["derive", "env"] }
# NOTE clap/wrap_help isn't perfect (see clap-rs/clap#5022)
clap = { workspace = true, features = ["derive", "env", "wrap_help"] }
env_logger = { workspace = true }
futures = { workspace = true }
directories = { workspace = true }
Expand Down

0 comments on commit 8d7ad09

Please sign in to comment.