Skip to content

Commit e03b6a8

Browse files
committed
Remove unneeded --no-cntlibs argument from list command
Since the compat libraries are discovered as part of container creation, the --no-cntlibs option that disables their discovery is not relevant to the nvidia-container-cli list command. This change removes this flag. Signed-off-by: Evan Lezar <[email protected]>
1 parent 8ed5824 commit e03b6a8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/cli/list.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const struct argp list_usage = {
2525
{"no-persistenced", 0x84, NULL, 0, "Don't include the NVIDIA persistenced socket", -1},
2626
{"no-fabricmanager", 0x85, NULL, 0, "Don't include the NVIDIA fabricmanager socket", -1},
2727
{"no-gsp-firmware", 0x86, NULL, 0, "Don't include GSP Firmware", -1},
28-
{"no-cntlibs", 0x87, NULL, 0, "Don't overwrite host mounts with CUDA compat libs from the container", -1},
2928
{0},
3029
},
3130
list_parser,
@@ -87,10 +86,6 @@ list_parser(int key, char *arg, struct argp_state *state)
8786
goto fatal;
8887
ctx->list_firmwares = false;
8988
break;
90-
case 0x87:
91-
if (str_join(&err, &ctx->container_flags, "no-cntlibs", " ") < 0)
92-
goto fatal;
93-
break;
9489
case ARGP_KEY_END:
9590
if (state->argc == 1 || (state->argc == 2 && ctx->imex_channels != NULL)) {
9691
if ((ctx->devices = xstrdup(&err, "all")) == NULL)

0 commit comments

Comments
 (0)