Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit e862243

Browse files
committed
cleanup usage
1 parent 0bfe8ac commit e862243

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/cmd/envs.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ coder envs edit back-end-env --disk 20`,
227227
}
228228
cmd.Flags().StringVarP(&img, "image", "i", "", "image ID of the image you wan't the environment to be based off of.")
229229
cmd.Flags().StringVarP(&tag, "tag", "t", "latest", "image tag of the image you wan't to base the environment off of.")
230-
cmd.Flags().Float32P("cpu", "c", cpuCores, "The number of cpu cores the environment should be provisioned with. (optional: true, supports fractional amounts)")
231-
cmd.Flags().Float32P("memory", "m", memGB, "The amount of RAM an environment should be provisioned with. (optional: true, supports fractional amounts)")
232-
cmd.Flags().IntP("disk", "d", diskGB, "The amount of disk storage an environment should be provisioned with. (optional: true, supports whole numbers only)")
233-
cmd.Flags().IntP("gpu", "g", gpus, "The amount of disk storage to provision the environment with. (optional: true, supports whole numbers only)")
230+
cmd.Flags().Float32P("cpu", "c", cpuCores, "The number of cpu cores the environment should be provisioned with.")
231+
cmd.Flags().Float32P("memory", "m", memGB, "The amount of RAM an environment should be provisioned with.")
232+
cmd.Flags().IntP("disk", "d", diskGB, "The amount of disk storage an environment should be provisioned with.")
233+
cmd.Flags().IntP("gpu", "g", gpus, "The amount of disk storage to provision the environment with.")
234234
cmd.Flags().BoolVar(&follow, "follow", false, "follow buildlog after initiating rebuild")
235235
return cmd
236236
}

0 commit comments

Comments
 (0)