minor correction
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(deleteCmd)
|
||||
rootCmd.Flags().StringP("repo", "R", "", "Select another repository for finding actions cache.")
|
||||
rootCmd.Flags().StringP("branch", "B", "", "Filter by branch")
|
||||
deleteCmd.Flags().StringP("repo", "R", "", "Select another repository for finding actions cache.")
|
||||
deleteCmd.Flags().StringP("branch", "B", "", "Filter by branch")
|
||||
deleteCmd.SetHelpTemplate(getDeleteHelp())
|
||||
}
|
||||
|
||||
|
||||
10
cmd/list.go
10
cmd/list.go
@@ -8,11 +8,11 @@ import (
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(listCmd)
|
||||
rootCmd.Flags().StringP("repo", "R", "", "Select another repository for finding actions cache.")
|
||||
rootCmd.Flags().StringP("branch", "B", "", "Filter by branch")
|
||||
rootCmd.Flags().StringP("key", "", "", "Filter by key")
|
||||
rootCmd.Flags().StringP("order", "", "", "Order of caches returned (asc/desc)")
|
||||
rootCmd.Flags().StringP("sort", "", "", "Sort fetched caches (used/size/created)")
|
||||
listCmd.Flags().StringP("repo", "R", "", "Select another repository for finding actions cache.")
|
||||
listCmd.Flags().StringP("branch", "B", "", "Filter by branch")
|
||||
listCmd.Flags().StringP("key", "", "", "Filter by key")
|
||||
listCmd.Flags().StringP("order", "", "", "Order of caches returned (asc/desc)")
|
||||
listCmd.Flags().StringP("sort", "", "", "Sort fetched caches (used/size/created)")
|
||||
listCmd.SetHelpTemplate(getListHelp())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user