diff --git a/cmd/nvidia-ctk/cdi/generate/generate.go b/cmd/nvidia-ctk/cdi/generate/generate.go index aeee4967..93334eb3 100644 --- a/cmd/nvidia-ctk/cdi/generate/generate.go +++ b/cmd/nvidia-ctk/cdi/generate/generate.go @@ -89,8 +89,8 @@ func (m command) build() *cli.Command { }, &cli.StringFlag{ Name: "device-name-strategy", - Usage: "Specify the strategy for generating device names. One of [type-index | index | uuid]", - Value: deviceNameStrategyTypeIndex, + Usage: "Specify the strategy for generating device names. One of [index | uuid | type-index]", + Value: deviceNameStrategyIndex, Destination: &cfg.deviceNameStrategy, }, &cli.StringFlag{