HomeSource World

cmd/utils: renames flags related to http-rpc server (#20935)

Description

cmd/utils: renames flags related to http-rpc server (#20935)

  • rpc flags related to starting http server renamed to http
  • old rpc flags aliased and still functional
  • pprof flags fixed
  • renames gpo related flags
  • linted
  • renamed rpc flags for consistency and clarity
  • added warn logs
  • added more warn logs for all deprecated flags for consistency
  • moves legacy flags to separate file, hides older flags under show-deprecated-flags command
  • legacy prefix and moved some more legacy flags to legacy file
  • fixed circular import
  • added docs
  • fixed imports lint error
  • added notes about when flags were deprecated
  • cmd/utils: group flags by deprecation date + reorder by date,
  • modified deprecated comments for consistency, added warn log for --rpc
  • making sure deprecated flags are still functional
  • show-deprecated-flags command cleaned up
  • fixed lint errors
  • corrected merge conflict
  • IsSet --> GlobalIsSet
  • uncategorized flags, if not deprecated, displayed under misc

Co-authored-by: Martin Holst Swende <martin@swende.se>

Details

Provenance
rene <41963722+renaynay@users.noreply.github.com>Authored on May 5 2020, 8:19 AM
GitHub <noreply@github.com>Committed on May 5 2020, 8:19 AM
Parents
rGETH587656619d28: Merge pull request #21023 from karalabe/snapshot-verify-iterator-release
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETHc989bca17368: cmd/utils: renames flags related to http-rpc server (#20935) (authored by rene <41963722+renaynay@users.noreply.github.com>).May 5 2020, 8:19 AM