bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Provide "did you mean ...?" suggestions for unknown command-line options

Open fmeum opened this issue 1 year ago • 1 comments

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'?)

fmeum avatar Apr 30 '24 11:04 fmeum

@justinhorvitz Could you review this? I sent my previous work on option parsing to you, but feel free to reroute.

fmeum avatar Apr 30 '24 11:04 fmeum

@justinhorvitz Gentle ping

fmeum avatar May 20 '24 17:05 fmeum

@bazel-io fork 7.2.0

fmeum avatar May 21 '24 07:05 fmeum