Skip to content

Commit fc74086

Browse files
committed
chore: add help flag
1 parent 34a46bb commit fc74086

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ and allows you to delete them if they don't have any open pull requests.`,
263263
func init() {
264264
rootCmd.Flags().BoolP("skip-confirmation", "s", false, "Skip confirmation for forks with open pull requests")
265265
rootCmd.Flags().BoolP("force", "f", false, "It will automatically delete all forks. Be careful when using this option.")
266+
rootCmd.Flags().BoolP("help", "h", false, "Show help for the fork-cleanup extension")
266267
}
267268

268269
func cleanupForks(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)