From f936f4c0bcb1f71aa4d2f5ee70b7b39a28c768e5 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Tue, 23 Jan 2024 14:57:15 +0100 Subject: [PATCH] Add --cdi.enable as alias for --cdi.enabled Signed-off-by: Evan Lezar --- cmd/nvidia-ctk/runtime/configure/configure.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/nvidia-ctk/runtime/configure/configure.go b/cmd/nvidia-ctk/runtime/configure/configure.go index d1583ed1..b4b53ed3 100644 --- a/cmd/nvidia-ctk/runtime/configure/configure.go +++ b/cmd/nvidia-ctk/runtime/configure/configure.go @@ -149,6 +149,7 @@ func (m command) build() *cli.Command { }, &cli.BoolFlag{ Name: "cdi.enabled", + Aliases: []string{"cdi.enable"}, Usage: "Enable CDI in the configured runtime", Destination: &config.cdi.enabled, },