cmd/syncthing: More information in help about -logfile option (#4796)

This commit is contained in:
Simon Frei 2018-03-12 13:17:12 +01:00 committed by Jakob Borg
parent 1471c15b29
commit 2bdb37d412
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ func parseCommandLineOptions() RuntimeOptions {
flag.BoolVar(&options.verbose, "verbose", false, "Print verbose log output")
flag.BoolVar(&options.paused, "paused", false, "Start with all devices and folders paused")
flag.BoolVar(&options.unpaused, "unpaused", false, "Start with all devices and folders unpaused")
flag.StringVar(&options.logFile, "logfile", options.logFile, "Log file name (use \"-\" for stdout)")
flag.StringVar(&options.logFile, "logfile", options.logFile, "Log file name (still always logs to stdout). Cannot be used together with -no-restart/STNORESTART environment variable.")
flag.StringVar(&options.auditFile, "auditfile", options.auditFile, "Specify audit file (use \"-\" for stdout, \"--\" for stderr)")
if runtime.GOOS == "windows" {
// Allow user to hide the console window