diff --git a/src/cmd/flux-start.c b/src/cmd/flux-start.c index 43236a72140f..fe5b71e304be 100644 --- a/src/cmd/flux-start.c +++ b/src/cmd/flux-start.c @@ -47,7 +47,7 @@ void start_slurm (int size, int kary, const char *modules, const char *modopts, */ const int child_wait_seconds = 1; -#define OPTIONS "hvs:k:M:O:XN:p:S" +#define OPTIONS "+hvs:k:M:O:XN:p:S" static const struct option longopts[] = { {"help", no_argument, 0, 'h'}, {"verbose", no_argument, 0, 'v'}, @@ -300,7 +300,7 @@ void start_slurm (int size, int kary, const char *modules, const char *modopts, argv_push (&ac, &av, "--propagate=CORE"); if (!cmd) argv_push (&ac, &av, "--pty"); - argv_push (&ac, &av, "--jobname=%s", "flux"); + argv_push (&ac, &av, "--job-name=%s", "flux"); if (partition) argv_push (&ac, &av, "--partition=%s", partition);