Salome HOME
[EDF29576] : Fix KERNEL_Launcher and KERNEL_Launcher_SWIG ready for integration
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 1 Mar 2024 09:16:25 +0000 (10:16 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 1 Mar 2024 09:16:25 +0000 (10:16 +0100)
src/yacsloader/driver_internal.py

index 21b978e2c436e6283963350e3d0ec7b074465f73..56db9d6d57edc398d35093992286131290e9b350 100644 (file)
@@ -327,7 +327,7 @@ def getArgumentParser():
   parser.add_argument("-x",SaveXMLSchemaEntryInCMD, dest=SaveXMLSchemaKeyInARGS, type=str, const="saveSchema.xml", nargs='?', default="", help = "dump xml schema")
   parser.add_argument("-t",ShutdownEntryInCMD, dest = ShutdownKeyInARGS, type=int , default=3, help="Shutdown the schema: 0=no shutdown to 3=full shutdown")
   parser.add_argument("-r",ResetEntryInCMD, dest = ResetKeyInARGS, type=int , default = 0, help="Reset the schema before execution: 0=nothing, 1=reset error nodes to ready state")
-  parser.add_argument("-i",InitPortEntryInCMD, dest = InitPortKeyInARGS, nargs='+', type=str, default =[], help="Initialisation value of a port, specified as bloc.node.port=value. For multiple settings use comma.")
+  parser.add_argument("-i",InitPortEntryInCMD, dest = InitPortKeyInARGS, type=str, default =[], action='append', help="Initialisation value of a port, specified as bloc.node.port=value. For multiple settings use comma.")
   parser.add_argument("-z",DoNotSqueezeEntryInCMD, dest = DoNotSqueezeKeyInARGS, help = "Desactivate squeeze memory optimization.", action='store_true')
   parser.add_argument(CPUTimeResOfContainerEntryInCMD, dest = CPUTimeResOfContainerKeyInARGS, type=int, default = 10, help="Time in second between two measures of CPU/Mem in container processes")
   parser.add_argument(HTOPFileEntryInCMD, dest = HTOPFileKeyInARGS, type=str, default ="", help="File name (if not empty) containing the result of measure of current process")