From e256baf968ff7984b5ee0f58e6931ec98c2e8f6f Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sun, 28 Jul 2024 10:10:37 +0100 Subject: [PATCH] Fix command line parsing bug --- ais2adsb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ais2adsb.py b/ais2adsb.py index 77fced3..4c9a00c 100755 --- a/ais2adsb.py +++ b/ais2adsb.py @@ -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])