Skip to content

Commit

Permalink
Fix command line parsing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrenton committed Jul 28, 2024
1 parent ccd0ece commit e256baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ais2adsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def parseCommandLine():
opt = sys.argv[i].upper()
if opt == 'SAR':
settings["includeSAR"] = parseSwitch(sys.argv[i+1])
if opt == 'SHIPS':
elif opt == 'SHIPS':
settings["includeShips"] = parseSwitch(sys.argv[i+1])
elif opt == 'PRINT':
settings["printDict"] = parseSwitch(sys.argv[i+1])
Expand Down

0 comments on commit e256baf

Please sign in to comment.