Commits

Miki Tebeka committed d8786e5

v1.0.0

  • Participants
  • Parent commits 5b0fcc7
  • Tags v1.0.0

Comments (0)

Files changed (2)

+2014-08-21 version 1.0.0
+    * Bump to 1.0.0
+    * Small usage fix
+
 2014-07-30 version 0.1.1
     * Fix logic error not using UTC
 	"net/http"
 	"net/url"
 	"os"
+	"path"
 	"time"
 )
 
 	geoUrl  = apiBase + "/geocode/json"
 	tzUrl   = apiBase + "/timezone/json"
 
-	Version = "0.1.1"
+	Version = "1.0.0"
 )
 
 type Loc struct {
 func main() {
 	version := flag.Bool("version", false, "show version")
 	flag.Usage = func() {
-		fmt.Fprintf(os.Stderr, "usage: %s ADDRESS\n", os.Args[0])
+		fmt.Fprintf(os.Stderr, "usage: %s ADDRESS\n", path.Base(os.Args[0]))
 		flag.PrintDefaults()
 	}
 	flag.Parse()