Skip to content

Commit

Permalink
Use filepath instead of path
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkfi committed Sep 14, 2015
1 parent e935790 commit 4ced8f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"fmt"
"os"
"path"
"path/filepath"
"time"
)

Expand Down Expand Up @@ -43,7 +43,7 @@ func (c *config) addflags(s *flag.FlagSet) {

func usage(s *flag.FlagSet) func() {
return func() {
fmt.Fprintf(os.Stderr, "Usage: %s [flags] <address>\n", path.Base(os.Args[0]))
fmt.Fprintf(os.Stderr, "Usage: %s [flags] <address>\n", filepath.Base(os.Args[0]))
s.PrintDefaults()
}
}
Expand Down

0 comments on commit 4ced8f4

Please sign in to comment.