From 6e4ce12dd8de7369935d7612b0a34a4413b31a45 Mon Sep 17 00:00:00 2001 From: Christopher Sherman Date: Thu, 21 Mar 2024 13:58:54 -0700 Subject: [PATCH] Updating geos ats command line parsing --- geos_ats_package/geos_ats/command_line_parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geos_ats_package/geos_ats/command_line_parsers.py b/geos_ats_package/geos_ats/command_line_parsers.py index 4cba88d..ff3e180 100644 --- a/geos_ats_package/geos_ats/command_line_parsers.py +++ b/geos_ats_package/geos_ats/command_line_parsers.py @@ -129,7 +129,7 @@ def parse_command_line_arguments( args ): exit_flag = True if exit_flag: - for option_type, details in zip( [ 'action', 'check' ], [ action_options, check_options ] ): + for option_type, details in ( 'action', action_options ), ( 'check', check_options ): print( f'\nAvailable {option_type} options:' ) for k, v in details.items(): print( f' {k}: {v}' )