mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 10:11:03 +00:00
Improve Client CLI help readability (#2073)
Currently the CLI `-h/--help` commad output is almost unreadable as (for some commands) it: - doesn't provide a short brief of what the command does. - doesn't separate the options description in smaller paragraphs. - doesn't use a smart wrap strategy for lines longer than the number of columns in the terminal. Follow some pics taken with a 100 cols wide term ## Short help (./node -h) ### Before  ### After  ## Long help (./node --help) ### Before  ### After  --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
[dependencies]
|
||||
array-bytes = "6.1"
|
||||
chrono = "0.4.27"
|
||||
clap = { version = "4.4.6", features = ["derive", "string"] }
|
||||
clap = { version = "4.4.6", features = ["derive", "string", "wrap_help"] }
|
||||
fdlimit = "0.2.1"
|
||||
futures = "0.3.21"
|
||||
libp2p-identity = { version = "0.1.3", features = ["peerid", "ed25519"]}
|
||||
|
||||
Reference in New Issue
Block a user