fix long line

This commit is contained in:
David Newhall II 2019-06-12 22:31:14 -07:00
parent 4dbfd58197
commit c9d0e26f3e
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ func (u *UnifiPoller) ParseFlags(args []string) {
fmt.Println("Usage: unifi-poller [--config=filepath] [--version]")
u.Flag.PrintDefaults()
}
u.Flag.StringVarP(&u.DumpJSON, "dumpjson", "j", "", "This debug option prints the json payload for a device and exits.")
u.Flag.StringVarP(&u.DumpJSON, "dumpjson", "j", "",
"This debug option prints the json payload for a device and exits.")
u.Flag.StringVarP(&u.ConfigFile, "config", "c", defaultConfFile, "Poller Config File (TOML Format)")
u.Flag.BoolVarP(&u.ShowVer, "version", "v", false, "Print the version and exit")
_ = u.Flag.Parse(args)