소스 검색

change default color mode to TEXT

Corey Smith 4 년 전
부모
커밋
8b213ca6d2
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      README.md
  2. 1 1
      src/main.go

+ 1 - 1
README.md

@@ -96,7 +96,7 @@ Usage of ./mfc-7820n:
   -a string
         IP address of the Brother scanner (default "192.168.0.157")
   -c string
-        Color mode of the scan (CGRAY, GRAY64, TEXT) (default "CGRAY")
+        Color mode of the scan (CGRAY, GRAY64, TEXT) (default "TEXT")
   -m    Enable scan of all pages from feeder
   -n string
         Name of the output file (default "scan.tiff")

+ 1 - 1
src/main.go

@@ -10,7 +10,7 @@ func main() {
 	const brotherPort int = 54921
 
 	brotherIP := flag.String("a", "192.168.0.157", "IP address of the Brother scanner")
-	color := flag.String("c", "CGRAY", "Color mode of the scan (CGRAY, TEXT)")
+	color := flag.String("c", "TEXT", "Color mode of the scan (CGRAY, TEXT)")
 	debug := flag.Bool("d", false, "Enable debug mode - save .rawbytes and .raw file")
 	rawinput := flag.String("i", "", "raw input file to parse instead of socket")
 	name := flag.String("n", "scan.tiff", "Name of the output file")