Commit 6f42679
authored
fix(cli): restore --help support by enabling clap's help feature explicitly (#540)
- In clap v4, the feature system was restructured to be fully granular
- With default-features = false, **no features** are enabled, including help
- Previously in v3, help output was always included by default
- Without explicitly enabling the help feature, running:
./linkerd-network-validator --help
results in:
error: unexpected argument found
- This commit adds the help feature back to enable standard CLI help text
Ref: https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#400---2022-09-28
Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>1 parent 8ce0108 commit 6f42679
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments