Skip to content

Commit

Permalink
Removed uneeded info from --version output
Browse files Browse the repository at this point in the history
  • Loading branch information
sdushantha committed Jun 2, 2024
1 parent 3c4f3d5 commit 3b187d1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sherlock/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,20 +508,14 @@ def handler(signal_received, frame):


def main():
version_string = (
f"%(prog)s {__version__}\n"
+ f"{requests.__description__}: {requests.__version__}\n"
+ f"Python: {platform.python_version()}"
)

parser = ArgumentParser(
formatter_class=RawDescriptionHelpFormatter,
description=f"{module_name} (Version {__version__})",
)
parser.add_argument(
"--version",
action="version",
version=version_string,
version=f"Sherlock v{__version__}",
help="Display version information and dependencies.",
)
parser.add_argument(
Expand Down

0 comments on commit 3b187d1

Please sign in to comment.