bazel
bazel copied to clipboard
Provide "did you mean ...?" suggestions for unknown command-line options
Examples:
$ bazel build //src:bazel-dev --experimental_remote_cache_evection_retries=5
ERROR: --experimental_remote_cache_evection_retries=5 :: Unrecognized option: --experimental_remote_cache_evection_retries=5 (did you mean '--experimental_remote_cache_eviction_retries'?)
$ bazel build //src:bazel-dev --notest_kep_going
ERROR: --notest_kep_going :: Unrecognized option: --notest_kep_going (did you mean '--notest_keep_going'?)
@justinhorvitz Could you review this? I sent my previous work on option parsing to you, but feel free to reroute.
@justinhorvitz Gentle ping
@bazel-io fork 7.2.0