From b0918ad192c95e2aa1772c3ff4203bdca205da71 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Tue, 22 Mar 2022 08:51:38 -0300 Subject: [PATCH] mh_lint: add page (#7911) --- pages/common/mh_lint.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/mh_lint.md diff --git a/pages/common/mh_lint.md b/pages/common/mh_lint.md new file mode 100644 index 000000000..34152b31f --- /dev/null +++ b/pages/common/mh_lint.md @@ -0,0 +1,21 @@ +# mh_lint + +> Attempt to find bugs in MATLAB or Octave code. +> Please note that this tool is neither sound nor complete. +> More information: . + +- 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}}`