Add usage information to offsets.py script

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
This commit is contained in:
JoeLametta
2021-05-26 08:40:02 +00:00
parent 90d6600c9c
commit 09f6bf1b46

View File

@@ -8,6 +8,10 @@ import sys
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
if len(sys.argv) < 2:
print("Usage: %s driveoffsets_file" % sys.argv[0], file=sys.stderr)
raise SystemExit(1)
with open(sys.argv[1]) as f: with open(sys.argv[1]) as f:
doc = f.read() doc = f.read()