From 8ff0d17d6a00feb528e2d72308235647efbc780f Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 15 May 2014 01:16:56 -0700 Subject: [PATCH] defauting images.fix.orientation option to true --- go/weed/server.go | 2 +- go/weed/volume.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go/weed/server.go b/go/weed/server.go index eea9f9037..80077a747 100644 --- a/go/weed/server.go +++ b/go/weed/server.go @@ -63,7 +63,7 @@ var ( volumeDataFolders = cmdServer.Flag.String("dir", os.TempDir(), "directories to store data files. dir[,dir]...") volumeMaxDataVolumeCounts = cmdServer.Flag.String("volume.max", "7", "maximum numbers of volumes, count[,count]...") volumePulse = cmdServer.Flag.Int("pulseSeconds", 5, "number of seconds between heartbeats") - volumeFixJpgOrientation = cmdServer.Flag.Bool("volume.fix.jpg.orientation", false, "Adjust jpg orientation when uploading.") + volumeFixJpgOrientation = cmdServer.Flag.Bool("volume.images.fix.orientation", true, "Adjust jpg orientation when uploading.") isStartingFiler = cmdServer.Flag.Bool("filer", false, "whether to start filer") serverWhiteList []string diff --git a/go/weed/volume.go b/go/weed/volume.go index 142002ec1..8aa52c43d 100644 --- a/go/weed/volume.go +++ b/go/weed/volume.go @@ -37,7 +37,7 @@ var ( dataCenter = cmdVolume.Flag.String("dataCenter", "", "current volume server's data center name") rack = cmdVolume.Flag.String("rack", "", "current volume server's rack name") volumeWhiteListOption = cmdVolume.Flag.String("whiteList", "", "comma separated Ip addresses having write permission. No limit if empty.") - fixJpgOrientation = cmdVolume.Flag.Bool("fix.jpg.orientation", false, "Adjust jpg orientation when uploading.") + fixJpgOrientation = cmdVolume.Flag.Bool("images.fix.orientation", true, "Adjust jpg orientation when uploading.") volumeWhiteList []string )