Showing
1 changed file
with
10 additions
and
2 deletions
... | ... | @@ -162,17 +162,18 @@ do |
162 | 162 | if [ -z "$2" ] |
163 | 163 | then |
164 | 164 | verbose=2 |
165 | - shift 2 | |
166 | 165 | else |
167 | 166 | case "$2" in |
168 | 167 | v) verbose=3; shift 2;; |
169 | 168 | *) verbose="$2"; shift 2;; |
170 | 169 | esac |
171 | 170 | fi |
171 | + shift 2 | |
172 | 172 | ;; |
173 | 173 | |
174 | 174 | -q) |
175 | 175 | verbose=0 |
176 | + shift | |
176 | 177 | ;; |
177 | 178 | |
178 | 179 | -t|--encoding) |
... | ... | @@ -183,6 +184,7 @@ do |
183 | 184 | exit 1 |
184 | 185 | fi |
185 | 186 | encodingType=$2 |
187 | + shift 2 | |
186 | 188 | ;; |
187 | 189 | |
188 | 190 | -p|--path) |
... | ... | @@ -192,6 +194,7 @@ do |
192 | 194 | exit 1 |
193 | 195 | fi |
194 | 196 | encodingDir=$2 |
197 | + shift 2 | |
195 | 198 | ;; |
196 | 199 | |
197 | 200 | -e|--encoder) |
... | ... | @@ -201,6 +204,7 @@ do |
201 | 204 | exit 1 |
202 | 205 | fi |
203 | 206 | encoder=$2 |
207 | + shift 2 | |
204 | 208 | ;; |
205 | 209 | |
206 | 210 | -c) |
... | ... | @@ -210,6 +214,7 @@ do |
210 | 214 | exit 1 |
211 | 215 | fi |
212 | 216 | cddbEntry=$2 |
217 | + shift 2 | |
213 | 218 | ;; |
214 | 219 | |
215 | 220 | -I) |
... | ... | @@ -220,6 +225,7 @@ do |
220 | 225 | exit 1 |
221 | 226 | fi |
222 | 227 | cddaIf=$2 |
228 | + shift 2 | |
223 | 229 | ;; |
224 | 230 | |
225 | 231 | -D) |
... | ... | @@ -229,6 +235,7 @@ do |
229 | 235 | exit 1 |
230 | 236 | fi |
231 | 237 | cddaDev=$2 |
238 | + shift 2 | |
232 | 239 | ;; |
233 | 240 | |
234 | 241 | -h|--help|*) |
... | ... | @@ -275,8 +282,9 @@ test ${verbose} -ge 1 && echo ${ready} |
275 | 282 | |
276 | 283 | if [ ${verbose} -ge 2 ] |
277 | 284 | then |
285 | + eval "cdInfo=\"$cdInfoMsg\"" | |
278 | 286 | cat <<-EOF |
279 | - $cdInfoMsg | |
287 | + $cdInfo | |
280 | 288 | EOF |
281 | 289 | |
282 | 290 | i=0 | ... | ... |
Please
register
or
login
to post a comment