From 14f563572dc772050d4edab2514e1c6f6522678c Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Thu, 23 Mar 2017 20:13:58 -0600 Subject: [PATCH] Print server version on startup Former-commit-id: 4717d5d06684d36b36c494c92632b6457629654a --- bindata.go.REMOVED.git-id | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindata.go.REMOVED.git-id b/bindata.go.REMOVED.git-id index 1ace199..a02613d 100644 --- a/bindata.go.REMOVED.git-id +++ b/bindata.go.REMOVED.git-id @@ -1 +1 @@ -b4e84fb2d89a335e6fe159a3e995a1daff218132 \ No newline at end of file +9ec07e7f240432f5f3afd17d589c8a83c4501f67 \ No newline at end of file diff --git a/main.go b/main.go index 70d3716..c8795d2 100755 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ func main() { } pathToData = c.GlobalString("data") os.MkdirAll(pathToData, 0755) - fmt.Printf("\nRunning CowYo at http://%s:%s\n\n", GetLocalIP(), c.GlobalString("port")) + fmt.Printf("\nRunning cowyo server (version %s) at http://%s:%s\n\n", version, GetLocalIP(), c.GlobalString("port")) serve(c.GlobalString("port")) return nil }