Skip to content

Commit

Permalink
feat: add help message
Browse files Browse the repository at this point in the history
  • Loading branch information
chornberger-c2c committed Feb 22, 2024
1 parent 878b97e commit 3c773ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vagrant_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def parse_options():
global options
options = parser.parse_args()

global help
help = parser

global mapping
mapping = {}

Expand All @@ -87,6 +90,7 @@ def process_options():
sys.exit(0)

else:
help.print_help()
sys.exit(0)

def list_running_boxes():
Expand Down

0 comments on commit 3c773ac

Please sign in to comment.