From bf9f0cfd782dd2b4fdf412a33728894aaf991812 Mon Sep 17 00:00:00 2001 From: Yakiyo Date: Mon, 28 Aug 2023 16:35:33 +0000 Subject: [PATCH] feat: early return on list --- cmd/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/root.go b/cmd/root.go index 472cbf5..4cffde2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -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 {