Skip to content

Commit

Permalink
Use better --version
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Feb 25, 2024
1 parent 36353ff commit 962b2f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wyoming_satellite/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ async def main() -> None:
parser.add_argument(
"--log-format", default=logging.BASIC_FORMAT, help="Format for log messages"
)
parser.add_argument(
"--version",
action="version",
version=__version__,
help="Print version and exit",
)
args = parser.parse_args()

# Validate args
Expand Down

0 comments on commit 962b2f5

Please sign in to comment.