Skip to content

Commit

Permalink
add: [misp_stix_converter] Global version argument added
Browse files Browse the repository at this point in the history
- This answers the request in #66
  • Loading branch information
chrisr3d committed Aug 21, 2024
1 parent 16879a4 commit 6243f82
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misp_stix_converter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ def _handle_return_message(traceback):

def main():
parser = argparse.ArgumentParser(description='Convert MISP <-> STIX')
parser.add_argument(
'-v', '--version', action='version',
version=f'{parser.prog} {__version__}'
)
parser.add_argument(
'--debug', action='store_true', help='Show errors and warnings'
)
Expand Down

0 comments on commit 6243f82

Please sign in to comment.