Skip to content

Commit

Permalink
fix plain params
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaochunqi committed Jun 29, 2024
1 parent 0e94461 commit fa528c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fa528c3

Please sign in to comment.