Skip to content

Commit a0a9099

Browse files
greggrothmislav
andauthored
Hide retention-period flag (cli#5607)
Co-authored-by: Mislav Marohnić <[email protected]>
1 parent 0615377 commit a0a9099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/codespace/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func newCreateCmd(app *App) *cobra.Command {
5454
createCmd.Flags().BoolVarP(&opts.permissionsOptOut, "default-permissions", "", false, "do not prompt to accept additional permissions requested by the codespace")
5555
createCmd.Flags().BoolVarP(&opts.showStatus, "status", "s", false, "show status of post-create command and dotfiles")
5656
createCmd.Flags().DurationVar(&opts.idleTimeout, "idle-timeout", 0, "allowed inactivity before codespace is stopped, e.g. \"10m\", \"1h\"")
57-
createCmd.Flags().DurationVar(&opts.retentionPeriod, "retention-period", 0, "allowed time after going idle before codespace is automatically deleted (maximum 30 days), e.g. \"1h\", \"72h\"")
57+
// createCmd.Flags().DurationVar(&opts.retentionPeriod, "retention-period", 0, "allowed time after going idle before codespace is automatically deleted (maximum 30 days), e.g. \"1h\", \"72h\"")
5858
createCmd.Flags().StringVar(&opts.devContainerPath, "devcontainer-path", "", "path to the devcontainer.json file to use when creating codespace")
5959

6060
return createCmd

0 commit comments

Comments
 (0)