Describe the bug
./reth db --datadir /xxxxx/yyyyy/reth_storage migrate-v2 (works)
but
./reth db migrate-v2 --datadir /xxxxx/yyyyy/reth_storage (broken)
error: unexpected argument '--datadir' found
Usage: reth db migrate-v2 [OPTIONS]
For more information, try '--help'.
Steps to reproduce
see above
Node logs
Platform(s)
Linux (x86)
Container Type
Not running in a container
What version/commit are you on?
latest
What database version are you on?
v1 going to v2
Which chain / network are you on?
mainnet
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
Describe the bug
./reth db --datadir /xxxxx/yyyyy/reth_storage migrate-v2 (works)
but
./reth db migrate-v2 --datadir /xxxxx/yyyyy/reth_storage (broken)
error: unexpected argument '--datadir' found
Usage: reth db migrate-v2 [OPTIONS]
For more information, try '--help'.
Steps to reproduce
see above
Node logs
Platform(s)
Linux (x86)
Container Type
Not running in a container
What version/commit are you on?
latest
What database version are you on?
v1 going to v2
Which chain / network are you on?
mainnet
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct