libcdio-paranoia  10.2+0.94+2git
usage.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 1999, 2005, 2007, 2008 Rocky Bernstein
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17 static const char usage_help[] =
18 "USAGE:\n"
19 " cd-paranoia [options] <span> [outfile]\n"
20 "\n"
21 "OPTIONS:\n"
22 " -A --analyze-drive : run and log a complete analysis of drive\n"
23 " caching, timing and reading behavior;\n"
24 " verifies that cdparanoia is correctly\n"
25 " modelling a specific drive's cache and\n"
26 " read behavior. Implies -vQL\n"
27 "\n"
28 " -v --verbose : extra verbose operation\n"
29 " -q --quiet : quiet operation\n"
30 " -e --stderr-progress : force output of progress information to\n"
31 " stderr (for wrapper scripts)\n"
32 " -l --log-summary <file> : save result summary to file\n"
33 " -L --log-debug <file> : save detailed device autosense and\n"
34 " debugging output to file\n"
35 " -V --version : print version info and quit\n"
36 " -Q --query : autosense drive, query disc and quit\n"
37 " -B --batch : 'batch' mode (saves each track to a\n"
38 " seperate file.\n"
39 " -s --search-for-drive : do an exhaustive search for drive\n"
40 " -h --help : print help\n"
41 "\n"
42 " -p --output-raw : output raw 16 bit PCM in host byte \n"
43 " order\n"
44 " -r --output-raw-little-endian : output raw 16 bit little-endian PCM\n"
45 " -R --output-raw-big-endian : output raw 16 bit big-endian PCM\n"
46 " -w --output-wav : output as WAV file (default)\n"
47 " -f --output-aiff : output as AIFF file\n"
48 " -a --output-aifc : output as AIFF-C file\n"
49 "\n"
50 " -c --force-cdrom-little-endian : force treating drive as little endian\n"
51 " -C --force-cdrom-big-endian : force treating drive as big endian\n"
52 " -n --force-default-sectors <n> : force default number of sectors in read\n"
53 " to n sectors\n"
54 " -o --force-search-overlap <n> : force minimum overlap search during\n"
55 " verification to n sectors\n"
56 " -d --force-cdrom-device <dev> : use specified device; disallow \n"
57 " autosense\n"
58 " -k --force-cooked-device <dev> : really an alias for -d. Kept for \n"
59 " compatibility.\n"
60 " -g --force-generic-device <dev> : really an alias for -d. Kept for \n"
61 " compatibility.\n"
62 " -S --force-read-speed <n> : read from device at specified speed; by\n"
63 " default, cdparanoia sets drive to full\n"
64 " speed.\n"
65 " -t --toc-offset <n> : Add <n> sectors to the values reported\n"
66 " when addressing tracks. May be negative\n"
67 " -T --toc-bias : Assume that the beginning offset of \n"
68 " track 1 as reported in the TOC will be\n"
69 " addressed as LBA 0. Necessary for some\n"
70 " Toshiba drives to get track boundaries\n"
71 " correct\n"
72 " -m --mmc-timeout <n> : Set SCSI-MMC timeout to <n> seconds.\n"
73 " -O --sample-offset <n> : Add <n> samples to the offset when\n"
74 " reading data. May be negative.\n"
75 " -z --never-skip[=n] : never accept any less than perfect\n"
76 " data reconstruction (don't allow 'V's)\n"
77 " but if [n] is given, skip after [n]\n"
78 " retries without progress.\n"
79 " -Z --disable-paranoia : disable all paranoia checking\n"
80 " -Y --disable-extra-paranoia : only do cdda2wav-style overlap checking\n"
81 " -X --abort-on-skip : abort on imperfect reads/skips\n"
82 " -x --test-flags=mask : simulate CD-reading errors of ilk-mask n\n"
83 " mask & 0x10 - simulate underrun errors\n"
84 "\n"
85 "OUTPUT SMILIES:\n"
86 " :-) Normal operation, low/no jitter\n"
87 " :-| Normal operation, considerable jitter\n"
88 " :-/ Read drift\n"
89 " :-P Unreported loss of streaming in atomic read operation\n"
90 " 8-| Finding read problems at same point during reread; hard to correct\n"
91 " :-0 SCSI/ATAPI transport error\n"
92 " :-( Scratch detected\n"
93 " ;-( Gave up trying to perform a correction\n"
94 " 8-X Aborted (as per -X) due to a scratch/skip\n"
95 " :^D Finished extracting\n"
96 "\n"
97 "PROGRESS BAR SYMBOLS:\n"
98 "<space> No corrections needed\n"
99 " - Jitter correction required\n"
100 " + Unreported loss of streaming/other error in read\n"
101 " ! Errors are getting through stage 1 but corrected in stage2\n"
102 " e SCSI/ATAPI transport error (corrected)\n"
103 " V Uncorrected error/skip\n"
104 "\n"
105 "SPAN ARGUMENT:\n"
106 "The span argument may be a simple track number or a offset/span\n"
107 "specification. The syntax of an offset/span takes the rough form:\n"
108 " \n"
109 " 1[ww:xx:yy.zz]-2[aa:bb:cc.dd] \n"
110 "\n"
111 "Here, 1 and 2 are track numbers; the numbers in brackets provide a\n"
112 "finer grained offset within a particular track. [aa:bb:cc.dd] is in\n"
113 "hours/minutes/seconds/sectors format. Zero fields need not be\n"
114 "specified: [::20], [:20], [20], [20.], etc, would be interpreted as\n"
115 "twenty seconds, [10:] would be ten minutes, [.30] would be thirty\n"
116 "sectors (75 sectors per second).\n"
117 "\n"
118 "When only a single offset is supplied, it is interpreted as a starting\n"
119 "offset and ripping will continue to the end of he track. If a single\n"
120 "offset is preceeded or followed by a hyphen, the implicit missing\n"
121 "offset is taken to be the start or end of the disc, respectively. Thus:\n"
122 "\n"
123 " 1:[20.35] Specifies ripping from track 1, second 20, sector 35 to \n"
124 " the end of track 1.\n"
125 "\n"
126 " 1:[20.35]- Specifies ripping from 1[20.35] to the end of the disc\n"
127 "\n"
128 " -2 Specifies ripping from the beginning of the disc up to\n"
129 " (and including) track 2\n"
130 "\n"
131 " -2:[30.35] Specifies ripping from the beginning of the disc up to\n"
132 " 2:[30.35]\n"
133 "\n"
134 " 2-4 Specifies ripping from the beginning of track two to the\n"
135 " end of track 4.\n"
136 "\n"
137 "Don't forget to protect square brackets and preceeding hyphens from\n"
138 "the shell...\n"
139 "\n"
140 "A few examples, protected from the shell:\n"
141 " A) query only with exhaustive search for a drive and full reporting\n"
142 " of autosense:\n"
143 " cd-paranoia -vsQ\n"
144 "\n"
145 " B) extract up to and including track 3, putting each track in a separate\n"
146 " file:\n"
147 " cd-paranoia -B -- \"-3\"\n"
148 "\n"
149 " C) extract from track 1, time 0:30.12 to 1:10.00:\n"
150 " cd-paranoia \"[:30.12]-1[1:10]\"\n"
151 "\n"
152 "Submit bug reports to bug-libcdio@gnu.org\n"
153 "\n"
154 ;
const char usage_help[]
Definition: usage-copy.h:6