aboutsummaryrefslogtreecommitdiff
path: root/weed/glog/glog_file.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/glog/glog_file.go')
-rw-r--r--weed/glog/glog_file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/glog/glog_file.go b/weed/glog/glog_file.go
index 65075d281..bb8e6902f 100644
--- a/weed/glog/glog_file.go
+++ b/weed/glog/glog_file.go
@@ -38,7 +38,7 @@ var logDirs []string
// If non-empty, overrides the choice of directory in which to write logs.
// See createLogDirs for the full list of possible destinations.
-var logDir = flag.String("log_dir", "", "If non-empty, write log files in this directory")
+var logDir = flag.String("logdir", "", "If non-empty, write log files in this directory")
func createLogDirs() {
if *logDir != "" {