revid: adding defaults for exposure and awb cmd flags

This commit is contained in:
Saxon 2019-03-15 17:32:28 +10:30
parent 9d5771fcbf
commit b18502c7ba
1 changed files with 2 additions and 2 deletions

View File

@ -130,8 +130,8 @@ func handleFlags() revid.Config {
sendRetryPtr = flag.Bool("retry", false, "Specify whether a failed send should be retried.")
brightnessPtr = flag.Uint("Brightness", 50, "Set Brightness: 0-100 ")
saturationPtr = flag.Int("Saturation", 0, "Set Saturation: -100:100")
exposurePtr = flag.String("Exposure", "", "Set exposure mode: "+strings.Join(revid.ExposureModes[:], ","))
autoWhiteBalancePtr = flag.String("Awb", "", "Set automatic white balance mode: "+strings.Join(revid.AwbModes[:], ","))
exposurePtr = flag.String("Exposure", "auto", "Set exposure mode: "+strings.Join(revid.ExposureModes[:], ","))
autoWhiteBalancePtr = flag.String("Awb", "auto", "Set automatic white balance mode: "+strings.Join(revid.AwbModes[:], ","))
)
var outputs flagStrings