aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtimeconf.c
diff options
context:
space:
mode:
authoringuin <devnull@localhost>2005-04-13 22:41:31 +0000
committeringuin <devnull@localhost>2005-04-13 22:41:31 +0000
commit25d4c6835b1705a3c46efdf20db0d24ca31ab3ef (patch)
tree36b9650f7520a1ff8c625b3edfcd189b9c38ebb9 /src/tvtimeconf.c
parentbbc74c2c5f10693219adca58ad5a200bd1468ae3 (diff)
* tvtime/src/tvtimeconf.c: Add "--nowidescreen" option.
* po/cs.po: Called "update-po", added translation for new string. * po/de.po: Ibid. * po/es.po: Ibid. * po/fi.po: Ibid. * po/pt.po: Ibid. * po/sv.po: Ibid. * po/tvtime.pot: Called "update-po". * docs/man/de/tvtime.1: Documented new option. * docs/man/de/tvtime-configure.1: Ibid. * docs/man/en/tvtime.1: Ibid. * docs/man/en/tvtime-configure.1: Ibid. * docs/man/es/tvtime.1: Ibid. * docs/man/es/tvtime-configure.1: Ibid.
Diffstat (limited to 'src/tvtimeconf.c')
-rw-r--r--src/tvtimeconf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index fcadd68..51e9566 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -585,6 +585,7 @@ static void print_usage( char **argv )
{
lfprintf( stderr, _("usage: %s [OPTION]...\n\n"), argv[ 0 ] );
lfputs( _(" -a, --widescreen 16:9 mode.\n"), stderr );
+ lfputs( _(" -A, --nowidescreen 4:3 mode.\n"), stderr );
lfputs( _(" -b, --vbidevice=DEVICE VBI device (defaults to /dev/vbi0).\n"), stderr );
lfputs( _(" -c, --channel=CHANNEL Tune to the specified channel on startup.\n"), stderr );
lfputs( _(" -d, --device=DEVICE video4linux device (defaults to /dev/video0).\n"), stderr );
@@ -635,6 +636,7 @@ static void print_config_usage( char **argv )
{
lfprintf( stderr, _("usage: %s [OPTION]...\n\n"), argv[ 0 ] );
lfputs( _(" -a, --widescreen 16:9 mode.\n"), stderr );
+ lfputs( _(" -A, --nowidescreen 4:3 mode.\n"), stderr );
lfputs( _(" -b, --vbidevice=DEVICE VBI device (defaults to /dev/vbi0).\n"), stderr );
lfputs( _(" -c, --channel=CHANNEL Tune to the specified channel on startup.\n"), stderr );
lfputs( _(" -d, --device=DEVICE video4linux device (defaults to /dev/video0).\n"), stderr );
@@ -883,6 +885,7 @@ int config_parse_tvtime_command_line( config_t *ct, int argc, char **argv )
{ "window", 0, 0, 'M' },
{ "slave", 0, 0, 'k' },
{ "widescreen", 0, 0, 'a' },
+ { "nowidescreen", 0, 0, 'A' },
{ "xmltv", 1, 0, 't' },
{ "xmltvlanguage", 1, 0, 'l' },
{ "display", 1, 0, 'X' },
@@ -895,10 +898,11 @@ int config_parse_tvtime_command_line( config_t *ct, int argc, char **argv )
int c;
if( argc ) {
- while( (c = getopt_long( argc, argv, "ahkmMsSvF:r:g:I:d:b:i:c:n:D:f:x:X:t:l:Qg:",
+ while( (c = getopt_long( argc, argv, "aAhkmMsSvF:r:g:I:d:b:i:c:n:D:f:x:X:t:l:Qg:",
long_options, &option_index )) != -1 ) {
switch( c ) {
case 'a': ct->aspect = 1; break;
+ case 'A': ct->aspect = 0; break;
case 'k': ct->slave_mode = 1; break;
case 'm': ct->fullscreen = 1; break;
case 'M': ct->fullscreen = 0; break;
@@ -1021,6 +1025,7 @@ int config_parse_tvtime_config_command_line( config_t *ct, int argc, char **argv
{ "fullscreen", 0, 0, 'm' },
{ "window", 0, 0, 'M' },
{ "widescreen", 0, 0, 'a' },
+ { "nowidescreen", 0, 0, 'A' },
{ "xmltv", 2, 0, 't' },
{ "xmltvlanguage", 2, 0, 'l' },
{ "priority", 2, 0, 'R' },
@@ -1035,10 +1040,11 @@ int config_parse_tvtime_config_command_line( config_t *ct, int argc, char **argv
return 0;
}
- while( (c = getopt_long( argc, argv, "ahmMF:g:I:d:b:i:c:n:D:f:x:t:l:R:",
+ while( (c = getopt_long( argc, argv, "aAhmMF:g:I:d:b:i:c:n:D:f:x:t:l:R:",
long_options, &option_index )) != -1 ) {
switch( c ) {
case 'a': ct->aspect = 1; break;
+ case 'A': ct->aspect = 0; break;
case 'm': ct->fullscreen = 1; break;
case 'M': ct->fullscreen = 0; break;
case 'F': if( ct->config_filename ) free( ct->config_filename );

Privacy Policy