package main

import (
	"flag"
	"fmt"
)

const help = `Ceres - Recipe server for local networks

Usage: ceres [-h | --help] [-v | --version]

  -h, --help                 show this help page and exit
  -v, --version              print version information
`

var printVersion bool

func init() {
	flag.BoolVar(&printVersion, "version", false, "print version information")
	flag.BoolVar(&printVersion, "v", false, "print version information")
	flag.Usage = func() {
		fmt.Fprintf(flag.CommandLine.Output(), help)
	}
}