Skip to content

Commit

Permalink
Cleanup function args
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Jan 24, 2016
1 parent 4b369bc commit cea7ff1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

// OpenURI opens a given uri in a web browser.
func OpenURI(uri string, verbose bool) {
func OpenURI(uri string) {
cmd := exec.Command("exo-open", uri)
err := cmd.Start()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion launcher/launcher_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

// OpenURI opens a given uri in a web browser.
func OpenURI(uri string, verbose bool) {
func OpenURI(uri string) {
cmd := exec.Command("open", uri)
err := cmd.Start()
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Search(p string, q string, verbose bool) {
if verbose {
fmt.Printf("%s\n", url)
}
launcher.OpenURI(url, verbose)
launcher.OpenURI(url)
} else {
fmt.Printf("Provider %q not supported!\n", p)
}
Expand Down

0 comments on commit cea7ff1

Please sign in to comment.