wfxr/code-minimap

Option correction is too eager

cheshire opened this issue · 4 comments

code-minimap -- compiler/xla/service/copy_insertion.cc
error: The subcommand 'compiler/xla/service/copy_insertion.cc' wasn't recognized
        Did you mean 'completion'?

If you believe you received this message in error, try re-running with 'code-minimap -- compiler/xla/service/copy_insertion.cc'
wfxr commented

Hi @cheshire Thanks for your feedback!

This bug was caused by clap crate which help code-minimap parse cli arguments.

Related issue: clap-rs/clap#878

These is a workaround you can use before this is fixed:

code-minimap ./compiler/xla/service/copy_insertion.cc

This seems to have been fixed upstream?

wfxr commented

@tobiasvl Yes but still not been released.

wfxr commented

🎉 clap just released v3.0.0: clap-rs/clap@c01ebba, so this issue has been fixed by #39.