Skip to content

Commit 3b187d1

Browse files
committed
Removed uneeded info from --version output
1 parent 3c4f3d5 commit 3b187d1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

sherlock/sherlock.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,20 +508,14 @@ def handler(signal_received, frame):
508508

509509

510510
def main():
511-
version_string = (
512-
f"%(prog)s {__version__}\n"
513-
+ f"{requests.__description__}: {requests.__version__}\n"
514-
+ f"Python: {platform.python_version()}"
515-
)
516-
517511
parser = ArgumentParser(
518512
formatter_class=RawDescriptionHelpFormatter,
519513
description=f"{module_name} (Version {__version__})",
520514
)
521515
parser.add_argument(
522516
"--version",
523517
action="version",
524-
version=version_string,
518+
version=f"Sherlock v{__version__}",
525519
help="Display version information and dependencies.",
526520
)
527521
parser.add_argument(

0 commit comments

Comments
 (0)