prysm-pulse/cmd/beacon-chain
Manu NALEPA 886d76fe7c
Refactor validator client help. (#13401)
* Define `cli.App` without mutation.

No functional change.

* `usage.go`:  Clean `appHelpTemplate`.

No functional change is added.
Modifications consist in adding prefix/suffix `-` to improve readability of
the template without adding new lines in template inference.

We now see some inconsistencies of the template:
- `if .App.Version` is around the `AUTHOR` section.
- `if .App.Copyright` is around both `COPYRIGHT` and `VERSION` sections.
- `if len .App.Authors` is around nothing.

* `usage.go`: Surround version and author correctly.

* `usage.go`: `AUTHOR` ==> `AUTHORS`

* `usage.go`: `GLOBAL` --> `global`.

* `--grpc-max-msg-size`: Remove double default.

* VC: Standardize help message.

- Flags help begin with a capital letter and end with a period.
- If a flag help begins with a verb, it is conjugated.
- Expermitemtal, danger etc... mentions are between parenthesis.

* VC help message: Wrap too long lines.
2024-01-02 18:02:28 +00:00
..
blockchain Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
db Refactor validator client help. (#13401) 2024-01-02 18:02:28 +00:00
execution Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
flags Refactor validator client help. (#13401) 2024-01-02 18:02:28 +00:00
jwt Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
storage Enable Deneb For E2E Scenario Tests (#13317) 2023-12-16 11:37:44 +00:00
sync Use functional options for --blob-retention-epochs (#13283) 2023-12-06 20:20:34 +00:00
BUILD.bazel Remove rules_docker, make multiarch images canonical (#13324) 2023-12-13 23:31:58 +00:00
log.go Add Goland Standard "cmd" Pattern for Beacon-Chain Binaries (#8540) 2021-03-02 13:36:03 -06:00
main.go Use functional options for --blob-retention-epochs (#13283) 2023-12-06 20:20:34 +00:00
pprof.beacon-chain.samples.cpu.pb.gz pgo: Enable pgo behind release flag (#13158) 2023-11-08 13:33:26 +00:00
usage_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
usage.go Use functional options for --blob-retention-epochs (#13283) 2023-12-06 20:20:34 +00:00