Changeset 279

Show
Ignore:
Timestamp:
11/22/06 18:39:09 (7 years ago)
Author:
lincoln
Message:

[278] didn't quite cut it

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • applications/shepherd

    r278 r279  
    33my $myprogname = 'shepherd'; 
    44my $progname = 'shepherd'; 
    5 my $version = '0.3.24'; 
     5my $version = '0.3.25'; 
    66 
    77# tv_grab_au 
     
    813813  # Record so we can pass the unmodified args to components later 
    814814  @options = @ARGV;     # Record so we can pass the unmodified args to components later 
    815   @options = grep(!/quiet/, @options); 
    816815  push (@options,"") if ($#options == -1); # silence warnings if none 
     816 
     817  # filter what options we don't pass on .. 
     818  foreach (0..$#options) { 
     819    splice(@options,$_,2) if ($options[$_] =~ /^--config-file/); # don't pass on --config-file 
     820    splice(@options,$_,1) if ($options[$_] =~ /^--quiet/);      # never be quiet 
     821  } 
    817822 
    818823  Getopt::Long::Configure(qw/pass_through/); 
     
    840845                     )); 
    841846  $debug = $opt->{debug}; 
    842  
    843   # ignore (and don't pass on) what mythfilldatabase passes to us as a --config-file 
    844   @options = grep(!/^config-file/, @options); 
    845847} 
    846848 
  • status

    r278 r279  
    1 application     shepherd            0.3.24 
     1application     shepherd            0.3.25 
    22engine          dog                 0.3.12 
    33grabber         yahoo7widget        1.58-r1