Skip to content

Commit

Permalink
tools: enable Markdown linter's usage information
Browse files Browse the repository at this point in the history
Prior to this commit, running `node tools/lint-md --help` and
`node tools/lint-md --version` resulted in an error.

* Use `unified-args` to start processor
* Use `unified-args`'s error handler

Fixes: #30156
PR-URL: #30216
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
Derek Lewis authored and BethGriggs committed Feb 6, 2020
1 parent 28a8247 commit f2cc093
Show file tree
Hide file tree
Showing 4 changed files with 427 additions and 429 deletions.
3 changes: 2 additions & 1 deletion tools/lint-md.js

Large diffs are not rendered by default.

Loading

0 comments on commit f2cc093

Please sign in to comment.