Options are registered either in the `register_opt...
# general
h
Options are registered either in the
register_options()
method of a Task or Subsystem, or on the global scope in
global_options.py
. And as of my change they can also be registered at the goal level by passing a registrar class into
Goal.register()
. See
src/python/pants/core_tasks/register.py
for where this happens.