Skip to content

repeated CLI args should prevent startup #8505

@macfarla

Description

@macfarla

I would expect besu to not start with this config since it's impossible to determine what is the desired behavior

besu --Xbonsai-full-flat-db-enabled=true --Xbonsai-full-flat-db-enabled=false
besu --privacy-enabled=true --privacy-enabled=false
besu --p2p-enabled=true --p2p-enabled=false

maybe it's only the case with boolean type args? if I try with --network or --sync-mode I get an aborted start with error message

besu --sync-mode=CHECKPOINT --sync-mode=FULL
option '--sync-mode' (<MODE>) should be specified only once

To display full help:
besu [COMMAND] --help

besu version besu/v25.3-develop-2df5428/osx-aarch_64/oracle_openjdk-java-22

Metadata

Metadata

Assignees

Labels

P4Low (ex: Node doesn't start up when the configuration file has unexpected "end-of-line" character)bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions