Skip to content

Commit e912e42

Browse files
committed
added version arg
bumped version
1 parent 564a8bb commit e912e42

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

PingDog.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,13 @@ def clear_splash_screen():
310310
parser = argparse.ArgumentParser(
311311
description= "PingDog - A simple URL monitoring tool"
312312
)
313+
parser.version = "PingDog v1.1.0"
314+
parser.add_argument(
315+
"-v",
316+
"--version",
317+
action="version",
318+
help="Show PingDog version",
319+
)
313320
parser.add_argument(
314321
"-f",
315322
"--file",

0 commit comments

Comments
 (0)