summaryrefslogtreecommitdiff
path: root/graphics/gphoto/patches/patch-aq
blob: d12dd37130315cff7dab425b24812e926d5e22c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
$NetBSD: patch-aq,v 1.1 2004/01/19 15:52:40 cube Exp $

--- kodak/dc21x/main.c.orig	2000-01-20 22:42:18.000000000 +0100
+++ kodak/dc21x/main.c
@@ -54,29 +54,29 @@ void print_info( int type )
 
 void usage(void)
 {
-   printf ("Kodak DC21x Digital Camera utility by timecop [timecop@japan.co.jp]
-
-	Usage:
-	-s n		Use /dev/ttySn for camera port
-	-q		Minimum messages to console [script use]
-	
-	-i [n]		Display Camera [ or picture n ] information
-	-n		Display number of pictures in camera
-	-d n		Delete image number n from camera
-	-D		Delete all images from camera
-	-t [filename]	Take a picture, save to filename
-	-r [n] [fname]	Retrieve picture n, save as fname
-	-R		Retrieve all pictures, save as imageNNN.jpg
-
-	-z 1|0		Set resolution to [1:High,0:Low]
-	-Q 1-3		Set JPEG quality. [1:Best,2:Better,3:Good]
-	-Z 0..4 | 5	Set zoom. [0:58mm,1:51mm,2:41mm,3:34mm,4:29mm,5:Macro]
-	-f 0-4		Flash setting. [0:Auto,1:Flash,2:NoFlash]
-				       [3:RedEyeAuto,4:RedEyeFlash]
-	
-	Some options can be combined, for example:
-	cam -s 2 -z 0 -q -f 1 -t webcam.jpg
-
+   printf ("Kodak DC21x Digital Camera utility by timecop [timecop@japan.co.jp]\n\
+\n\
+	Usage:\n\
+	-s n		Use /dev/ttySn for camera port\n\
+	-q		Minimum messages to console [script use]\n\
+	\n\
+	-i [n]		Display Camera [ or picture n ] information\n\
+	-n		Display number of pictures in camera\n\
+	-d n		Delete image number n from camera\n\
+	-D		Delete all images from camera\n\
+	-t [filename]	Take a picture, save to filename\n\
+	-r [n] [fname]	Retrieve picture n, save as fname\n\
+	-R		Retrieve all pictures, save as imageNNN.jpg\n\
+\n\
+	-z 1|0		Set resolution to [1:High,0:Low]\n\
+	-Q 1-3		Set JPEG quality. [1:Best,2:Better,3:Good]\n\
+	-Z 0..4 | 5	Set zoom. [0:58mm,1:51mm,2:41mm,3:34mm,4:29mm,5:Macro]\n\
+	-f 0-4		Flash setting. [0:Auto,1:Flash,2:NoFlash]\n\
+				       [3:RedEyeAuto,4:RedEyeFlash]\n\
+	\n\
+	Some options can be combined, for example:\n\
+	cam -s 2 -z 0 -q -f 1 -t webcam.jpg\n\
+\n\
 ");
 }