Commit dcf29cc
cmd/utils, node/cli: fix spelling typos in --help flag descriptions (#19354)
Three typos in CLI `--help` flag `Usage` strings visible to all users
via `erigon --help`.
## Changes
- `cmd/utils/flags.go` — `HTTPDebugSingleFlag`: `printt` → `print`
- `cmd/utils/flags.go` — `RpcBatchConcurrencyFlag`: `bach` → `batch`
- `node/cli/flags.go` — `PruneModeFlag`: `run onto` → `run on`
<!-- START COPILOT ORIGINAL PROMPT -->
<details>
<summary>Original prompt</summary>
> Fix spelling errors in `erigon --help` flag descriptions.
>
> ## Context
> Users report spelling mistakes in the CLI help output when running
`./build/bin/erigon --help`.
>
> ## Required changes
> Update user-facing flag `Usage` strings to correct spelling typos
(keep changes minimal; do not do broader rewrites).
>
> Specifically:
> 1. In `cmd/utils/flags.go`, update the `HTTPDebugSingleFlag` usage
string to change `printt` -> `print`.
> 2. In `cmd/utils/flags.go`, update the `RpcBatchConcurrencyFlag` usage
string to change `bach` -> `batch`.
> 3. In `node/cli/flags.go`, update the `PruneModeFlag` usage string to
change `run onto` -> `run on`.
>
> ## Acceptance criteria
> - `./build/bin/erigon --help` no longer contains the above typos.
> - Changes are limited to spelling-only updates in the relevant `Usage`
strings.
> - Build/tests (if any) continue to pass.
>
</details>
<!-- START COPILOT CODING AGENT SUFFIX -->
*This pull request was created from Copilot chat.*
>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bloxster <40316187+bloxster@users.noreply.github.com>1 parent 8bf8433 commit dcf29cc
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
| 361 | + | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments