Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commite862243

Browse files
committed
cleanup usage
1 parent0bfe8ac commite862243

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎internal/cmd/envs.go

Lines changed: 4 additions & 4 deletions
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
returncmd
236236
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp