code: func handleOtherModes(fp *flag.Parser, modes OtherModes) {
  	if modes.Version {
  		fmt.Println("Honeytail version", version)
  		os.Exit(0)
  	}
  	if modes.Help {
  		fp.WriteHelp(os.Stdout)
  		fmt.Println("")
  		os.Exit(0)
  	}
  	if modes.WriteManPage {
  		fp.WriteManPage(os.Stdout)
  		os.Exit(0)
  	}
  	if modes.WriteDefaultConfig {
  		ip := flag.NewIniParser(fp)
  		ip.Write(os.Stdout, flag.IniIncludeDefaults|flag.IniCommentDefaults|flag.IniIncludeComments)
  		os.Exit(0)
  	}
  	if modes.WriteCurrentConfig {
  		ip := flag.NewIniParser(fp)
  		ip.Write(os.Stdout, flag.IniIncludeComments)
  		os.Exit(0)
  	}
  
  	if modes.ListParsers {
  		fmt.Println("Available parsers:", strings.Join(validParsers, ", "))
  		os.Exit(0)
  	}
  }
docs: // handleOtherModes takse care of all flags that say we should just do something
  // and exit rather than actually parsing logs