diff --git a/cmd/version.go b/cmd/version.go index 7659233..21e173d 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" ) -var Version = "0.18.1" +var Version = "0.18.2" func init() { rootCmd.AddCommand(versionCmd) diff --git a/cmd/web.go b/cmd/web.go index 1c96f2a..0ca8e92 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -456,6 +456,8 @@ func serveHtmlHandler(paths []string, re regexp.Regexp) appHandler { func doNothing(http.ResponseWriter, *http.Request) {} func ServePage(args []string) error { + fmt.Printf("roulette v%v\n", Version) + paths, err := normalizePaths(args) if err != nil { return err