From 2868fc827307fbd999723fa2f5834d85dcdc87ee Mon Sep 17 00:00:00 2001
From: Dmytro Bogatov <dmytro@dbogatov.org>
Date: Sat, 6 Feb 2021 21:55:35 -0500
Subject: [PATCH] Fix.

---
 package.json | 2 +-
 src/index.ts | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index 631fd8c..d6acf39 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
 	"name": "broken-links-inspector",
-	"version": "1.3.0",
+	"version": "1.3.1",
 	"description": "Extract and recursively check all URLs reporting broken ones",
 	"main": "dist/inspector.js",
 	"types": "dist/inspector.d.ts",
diff --git a/src/index.ts b/src/index.ts
index 5aefed4..15d04fa 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -7,11 +7,11 @@ import { ConsoleReporter, JUnitReporter } from "./report"
 import fs from "fs/promises"
 
 commander
-	.version("1.2.0")
+	.version("1.3.1")
 	.description("Extract and recursively check all URLs reporting broken ones\n\nDedicated to Daria Bogatova \u2665")
 
 commander
-	.command("inspect <url> <file://>")
+	.command("inspect <url>|<file://>")
 	.description("Check links in the given URL or a text file")
 	.option("-r, --recursive", "recursively check all links in all URLs within supplied host (ignored for file://)", false)
 	.option("-t, --timeout <number>", "timeout in ms after which the link will be considered broken", (value: string, _) => parseInt(value), 2000)
-- 
GitLab