From 336b4348117e1f7360f0e38f37af572cd1c9df54 Mon Sep 17 00:00:00 2001 From: "koffee.zip" Date: Tue, 14 Jul 2026 18:58:27 -0600 Subject: [PATCH] Added agrument that gives you current version of Rete --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 700d07b..2c52636 100644 --- a/main.py +++ b/main.py @@ -3,13 +3,16 @@ import sys import validators # type: ignore import os -print("Rete URL Checker by koffee.zip") +print("Rete by koffee.zip 2026") exist = True try: + if sys.argv[1] == "-v" or sys.argv[1] == "--version": + print("Rete 1.0 by koffee.zip 2026") if sys.argv[1] == "-h" or sys.argv[1] == "--help": print("Usage: Rete [arguments] [URLs]") print("-h --help Shows this help page") print("-f --file Lets you check URLs via a txt file.") + print("-v --version Shows program's current version") exit(0) if sys.argv[1] == "-f" or sys.argv[1] == "--file": count = 0 @@ -104,3 +107,4 @@ except IndexError: print("Usage: Rete [arguments] [URLs]") print("-h --help Shows this help page") print("-f --file Lets you check URLs via a txt file.") + print("-v --version Shows program's current version")