Skip to content

Commit

Permalink
fix test?
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaiton committed Nov 10, 2023
1 parent 934f9ab commit 4782e68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pypechain/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,12 @@ def parse_arguments(argv: Sequence[str] | None = None) -> Args:
),
)

# Use system arguments if none were passed
if argv is None:
argv = sys.argv

# If no arguments were passed, display the help message and exit
if len(sys.argv) == 1:
if len(argv) == 1:
parser.print_help(sys.stderr)
sys.exit(1)

Expand Down

0 comments on commit 4782e68

Please sign in to comment.