From cf9b1d9b7a6c96a37c141dc942e6dfcfb17aa055 Mon Sep 17 00:00:00 2001
From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch>
Date: Wed, 29 May 2024 10:50:09 +0200
Subject: [PATCH] Fix config to avoid early exit

Fix config to avoid early exit
---
 DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py b/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
index d7bd36c70cd8..4c1d377b46f3 100644
--- a/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
+++ b/DetectorDescription/GeoModel/DumpGeo/python/DumpGeoConfig.py
@@ -175,7 +175,7 @@ if __name__=="__main__":
 
     args = flags.fillFromArgs(parser=parser)
 
-    if 'help' in args:
+    if args.help:
         # No point doing more here, since we just want to print the help.
         sys.exit()
 
-- 
GitLab