Skip to content

Commit

Permalink
feat: early return on list
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakiyo committed Aug 28, 2023
1 parent a5fa34d commit bf9f0cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ View community driven and simplified man pages in your terminal`,

if list := utils.Must(cmd.Flags().GetBool("list")); list {
cache.List()
return
}

if seed := utils.Must(cmd.Flags().GetBool("seed-config")); seed {
Expand Down

0 comments on commit bf9f0cf

Please # to comment.