Files
cheatsheet-tldr/tldr/mh_lint
2025-11-25 00:19:28 +00:00

27 lines
524 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# mh_lint
> Attempt to find bugs in MATLAB or Octave code.
> Please note that this tool is neither sound nor complete.
> More information: <https://florianschanda.github.io/miss_hit/cli.html>.
- Check the current directory:
`mh_lint`
- Check a specific directory recursively:
`mh_lint {{path/to/directory}}`
- Check a MATLAB file:
`mh_lint {{path/to/file.m}}`
- Check an Octave file:
`mh_lint --octave {{path/to/file.m}}`