lecotex / vtuner

Automatically exported from code.google.com/p/vtuner
2 stars 2 forks source link

Wrong error message for -f T, -f C or even -f X #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. vtunerc.i686 -f T
2. vtunerc.i686 -f C

What is the expected output? What do you see instead?

Expected output:
vtunerc: [2253 ../../vtunerc.c:439] error: unknown tuner mode specified: T 
allowed values are: -f s -f S -f s2 -f S2 -f c -f t -f C -f T(with optional 
group mask)

See instead:
vtunerc: [2253 ../../vtunerc.c:439] error: unknown tuner mode specified: T 
allowed values are: -s -S -s2 -S2 -c -t (with optional group mask)

Which is the old parameter options no longer valid with current version.

And I would like that we can use both lowercase and uppercase for the tuner 
type:  t or T for DVB-T and c or C for DVB-C.
Perhaps also foreseen T2 and C2.

What version of the product are you using? On what operating system?

vtunerc: Revision:3a9233717687
Ubuntu 11.10 and 10.10 (32 bits).

Please provide any additional information below.

Cosmetic change to have error message reflecting the new syntax.
And change the parameter to be non case sensitive.

Original issue reported on code.google.com by mebep...@gmail.com on 29 Jan 2012 at 5:24

GoogleCodeExporter commented 9 years ago
Fixed in repository sources.

Thx

Original comment by jpetrous on 14 Feb 2012 at 8:07