From fa528c387457ba3dd5fa849d84ceaef01401c3e8 Mon Sep 17 00:00:00 2001 From: Alex Zhao Date: Sat, 29 Jun 2024 10:05:02 +0800 Subject: [PATCH] fix plain params --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index c432db8..497c2e9 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -35,7 +35,7 @@ and converts it to a web URL. The web URL is then printed to the console.`, webURL := convertToWebURL(remoteURL) // Open the web URL in the browser if the -o flag is provided - plain, _ := cmd.Flags().GetBool("open") + plain, _ := cmd.Flags().GetBool("plain") if !plain { err = openURLInBrowser(webURL) if err != nil {