diff --git a/e4s_cl/cli/commands/launch.py b/e4s_cl/cli/commands/launch.py index 81c47d07..7c9ef258 100644 --- a/e4s_cl/cli/commands/launch.py +++ b/e4s_cl/cli/commands/launch.py @@ -241,6 +241,14 @@ def _construct_parser(self): metavar='image', ) + parser.add_argument( + '--backend', + help="Container backend to use to launch the image." + + f" Available backends are: {', '.join(EXPOSED_BACKENDS)}", + metavar='technology', + dest='backend', + ) + parser.add_argument( '--source', type=arguments.posix_path, @@ -263,11 +271,10 @@ def _construct_parser(self): ) parser.add_argument( - '--backend', - help="Container backend to use to launch the image." + - f" Available backends are: {', '.join(EXPOSED_BACKENDS)}", - metavar='technology', - dest='backend', + '--wi4mpi', + type=arguments.posix_path, + help="Path towards a Wi4MPI installation to use", + metavar='installation', ) mpi_families = set(map(lambda x: x.cli_name, WI4MPI_METADATA))