Update cmd/ghcs/delete.go

Co-authored-by: CamiloGarciaLaRotta <camilogarcialarotta@github.com>
This commit is contained in:
Raffaele Di Fazio 2021-09-16 18:42:41 +02:00 committed by GitHub
parent 5cd90fea88
commit 35e0f95243

View file

@ -46,7 +46,7 @@ func newDeleteCmd() *cobra.Command {
deleteCmd.Flags().BoolVar(&allCodespaces, "all", false, "Delete all codespaces")
deleteCmd.Flags().StringVarP(&repo, "repo", "r", "", "Delete all codespaces for a repository")
deleteCmd.Flags().BoolVarP(&force, "force", "f", false, "Delete codespaces with unsaved changes without confirmation")
deleteCmd.Flags().IntVar(&keepThresholdDays, "days", 0, "Value of threshold for codespaces to keep")
deleteCmd.Flags().IntVar(&keepThresholdDays, "days", 0, "Minimum number of days that a codespace has to have to be deleted. Only shutdown codespaces will be considered for deletion.")
return deleteCmd
}