@@ -169,7 +169,7 @@ func addFlags(flags *pflag.FlagSet) *containerOptions {
169169 flags .VarP (& copts .attach , "attach" , "a" , "Attach to STDIN, STDOUT or STDERR" )
170170 flags .Var (& copts .deviceCgroupRules , "device-cgroup-rule" , "Add a rule to the cgroup allowed devices list" )
171171 flags .Var (& copts .devices , "device" , "Add a host device to the container" )
172- flags .Var (& copts .gpus , "gpus" , " GPU devices to add to the container (' all' to pass all GPUs)" )
172+ flags .Var (& copts .gpus , "gpus" , ` GPU devices to add to the container (" all" to pass all GPUs)` )
173173 flags .SetAnnotation ("gpus" , "version" , []string {"1.40" })
174174 flags .VarP (& copts .env , "env" , "e" , "Set environment variables" )
175175 flags .Var (& copts .envFile , "env-file" , "Read in a file of environment variables" )
@@ -280,7 +280,7 @@ func addFlags(flags *pflag.FlagSet) *containerOptions {
280280 flags .Var (& copts .kernelMemory , "kernel-memory" , "Kernel memory limit" )
281281 flags .VarP (& copts .memory , "memory" , "m" , "Memory limit" )
282282 flags .Var (& copts .memoryReservation , "memory-reservation" , "Memory soft limit" )
283- flags .Var (& copts .memorySwap , "memory-swap" , "Swap limit equal to memory plus swap: '-1' to enable unlimited swap" )
283+ flags .Var (& copts .memorySwap , "memory-swap" , "Swap limit equal to memory plus swap: -1 to enable unlimited swap" )
284284 flags .Int64Var (& copts .swappiness , "memory-swappiness" , - 1 , "Tune container memory swappiness (0 to 100)" )
285285 flags .BoolVar (& copts .oomKillDisable , "oom-kill-disable" , false , "Disable OOM Killer" )
286286 flags .IntVar (& copts .oomScoreAdj , "oom-score-adj" , 0 , "Tune host's OOM preferences (-1000 to 1000)" )
0 commit comments