minor correction

This commit is contained in:
t-dedah
2022-06-13 11:28:07 +05:30
parent 58d1be62e6
commit 5593cd0b39
2 changed files with 7 additions and 7 deletions

View File

@@ -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())
}

View File

@@ -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())
}