func ErrorPrintHelpAndExit(options interface{}, message string) {
	fmt.Fprintln(os.Stderr, message+"\n")
	var parser = flags.NewParser(options, flags.Default)
	parser.WriteHelp(os.Stderr)
	os.Exit(1)
}
ErrorPrintHelpAndExit prints the message, the help message and exits
package util
import (
	"flag"
	"fmt"
	"os"
	"os/signal"
	"reflect"
	"strconv"
	"syscall"
	flags "github.com/jessevdk/go-flags"
)
func ParseArgs(options interface{}) {
	_, err := flags.ParseArgs(options, os.Args)
	if err != nil {
		if err.(*flags.Error).Type == flags.ErrHelp {
			os.Exit(0)
		} else {
			os.Exit(1)
		}
	}
	fixGlog(options)
}