Skip to content

Commit

Permalink
add nicer output when using up url -c
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Feb 2, 2018
1 parent 407c684 commit 4e76046
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/cli/url/url.go
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 4e76046

Please sign in to comment.