• Joshua Gutow's avatar
    op-node/flags: Add easy way to deprecate flags · b4c028c7
    Joshua Gutow authored
    This adds a deprecated flags section to warn users that the flag will be removed
    in a future version of the software. I had to modify the P2P Flags structure to
    make it work nicely.
    
    I also added a test to ensure that deprecated flags are hidden & that all flags
    have at least one env var.
    b4c028c7
Name
Last commit
Last update
..
chaincfg Loading commit data...
cmd Loading commit data...
flags Loading commit data...
heartbeat Loading commit data...
metrics Loading commit data...
node Loading commit data...
p2p Loading commit data...
rollup Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
Dockerfile Loading commit data...
Dockerfile.dockerignore Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
service.go Loading commit data...