go-ethereum/internal/cli
Jerry 96ac8d16d4 Overwrite default config with CLI input even when the input value is considered as empty
This change will fix two issues:
1. When CLI sets a flag to an empty value in Go, e.g. 0 as to Uint64, the flag will be skipped and never set correctly. This problem could be solved by using option "WithOverwriteWithEmptyValue" when merge two configs.
2. The default non-empty value in server config will be overwritten to an empty value after flag initialization. This problem is solved by explicitly providing default value to all flags that have a default value option.
2022-05-31 20:30:40 -07:00
..
flagset Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
server Overwrite default config with CLI input even when the input value is considered as empty 2022-05-31 20:30:40 -07:00
account.go Lint internal/cli 2022-05-26 11:55:44 -07:00
account_import.go Lint internal/cli 2022-05-26 11:55:44 -07:00
account_list.go Lint internal/cli 2022-05-26 11:55:44 -07:00
account_new.go Lint internal/cli 2022-05-26 11:55:44 -07:00
attach.go Enable prealloc check and improve address comparison 2022-05-26 11:55:44 -07:00
bootnode.go Lint internal/cli 2022-05-26 11:55:44 -07:00
bor_fingerprint.go Lint internal/cli 2022-05-26 11:55:44 -07:00
chain.go Lint internal/cli 2022-05-26 11:55:44 -07:00
chain_sethead.go Lint internal/cli 2022-05-26 11:55:44 -07:00
chain_watch.go Lint internal/cli 2022-05-26 11:55:44 -07:00
command.go Lint internal/cli 2022-05-26 11:55:44 -07:00
debug.go Lint internal/cli 2022-05-26 11:55:44 -07:00
markdown.go Automatically generate markdown pages from bor CLI 2022-05-09 17:10:36 +02:00
markdown_test.go Lint internal/cli 2022-05-26 11:55:44 -07:00
peers.go Lint internal/cli 2022-05-26 11:55:44 -07:00
peers_add.go Lint internal/cli 2022-05-26 11:55:44 -07:00
peers_list.go Lint internal/cli 2022-05-26 11:55:44 -07:00
peers_remove.go Lint internal/cli 2022-05-26 11:55:44 -07:00
peers_status.go Lint internal/cli 2022-05-26 11:55:44 -07:00
status.go Lint internal/cli 2022-05-26 11:55:44 -07:00
version.go Lint internal/cli 2022-05-26 11:55:44 -07:00