Read the article that explains everything!
Usage of link-scanner:
-dir string
Optional. Searches every file in the directory for a match. Non-recursive.
-filename string
Optional. Takes precedence over directory searches.
-filetype .html
Only searches files of this type. Include the period, i.e., .html (default ".md")
-q Optional. Turns on quiet mode.
-v Optional. Turns on verbose mode.