diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go index 191558ea..82a35bcf 100644 --- a/cmd/syncthing/main.go +++ b/cmd/syncthing/main.go @@ -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