Skip to content
Permalink
Browse files

add nicer output when using `up url -c`

  • Loading branch information...
tj committed Feb 2, 2018
1 parent 407c684 commit 4e76046d0042ce33325d8af37248d268bba9440b
Showing with 2 additions and 1 deletion.
  1. +2 −1 internal/cli/url/url.go
@@ -10,6 +10,7 @@ import (

"github.com/apex/up/internal/cli/root"
"github.com/apex/up/internal/stats"
"github.com/apex/up/internal/util"
"github.com/apex/up/internal/validate"
)

@@ -56,7 +57,7 @@ func init() {
browser.OpenURL(url)
case *copy:
clipboard.Write(url)
fmt.Println("Copied to clipboard!")
util.LogPad("Copied to clipboard!")
default:
fmt.Println(url)
}

0 comments on commit 4e76046

Please sign in to comment.
You can’t perform that action at this time.