Browse Source

capgen: update for StdLength -> DefaultLen rename.

Dmitry Chestnykh 14 years ago
parent
commit
fe75d4b6cc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      capgen/main.go

+ 1 - 1
capgen/main.go

@@ -13,7 +13,7 @@ import (
 var (
 	flagImage = flag.Bool("i", true, "output image captcha")
 	flagAudio = flag.Bool("a", false, "output audio captcha")
-	flagLen   = flag.Int("len", captcha.StdLength, "length of captcha")
+	flagLen   = flag.Int("len", captcha.DefaultLen, "length of captcha")
 	flagImgW  = flag.Int("width", captcha.StdWidth, "image captcha width")
 	flagImgH  = flag.Int("height", captcha.StdHeight, "image captcha height")
 )