Skip to content

Commit

Permalink
-config-file help: No plan to watch it, but rely on signal
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed May 19, 2022
1 parent fa8e978 commit 1405049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func ParseInputs(args []string) (*Inputs, error) {
flags := flag.NewFlagSet("socketmaster", flag.ExitOnError)

inputs.commandlineConfig.LinkToFlagSet(flags)
flags.StringVar(&inputs.configFile, "config-file", "", "Configuration file to load and watch")
flags.StringVar(&inputs.configFile, "config-file", "", "Configuration file to load on start and reload")
flags.StringVar(&inputs.addr, "listen", "tcp://:8080", "Port on which to bind")
flags.IntVar(&inputs.startTime, "start", 3000, "How long the new process takes to boot in millis")
flags.BoolVar(&inputs.useSyslog, "syslog", false, "Log to syslog")
Expand Down

0 comments on commit 1405049

Please sign in to comment.