Legend:
- Unmodified
- Added
- Removed
-
shepherd
r179 r180 146 146 # --------------------------------------------------------------------------- 147 147 148 $| = 1;149 150 print ucfirst($progname) . " v$version\n\n";151 152 148 # Any options Shepherd doesn't understand, we'll pass to the grabber(s) 153 149 Getopt::Long::Configure(qw/pass_through/); 154 150 155 151 &get_initial_command_line_options; 152 153 &capabilities if ($opt->{capabilities}); 154 &description if ($opt->{description}); 155 156 $| = 1; 157 print ucfirst($progname) . " v$version\n\n"; 156 158 157 159 &help if ($opt->{help}); … … 1955 1957 'clearpreftitle' => \$opt->{clearpreftitlesource}, 1956 1958 'dontcallgrabbers' => \$opt->{dontcallgrabbers}, 1959 1960 # http://xmltv.org/wiki/xmltvcapabilities.html 1961 'capabilities' => \$opt->{capabilities}, 1962 'description' => \$opt->{description}, 1963 'quiet' => \$opt->{quiet}, 1964 1957 1965 'debug' => \$debug); 1958 1966 } … … 2315 2323 } 2316 2324 2325 sub capabilities 2326 { 2327 print "baseline\nmanualconfig\n"; 2328 exit 0; 2329 } 2330 2331 sub description 2332 { 2333 print "Australia\n"; 2334 exit 0; 2335 } 2336 2317 2337 sub help 2318 2338 { … … 2339 2359 2340 2360 --check Check status of all grabbers and postprocessors 2361 2362 --capabilities Report capabilities to XMLTV 2341 2363 2342 2364 --nolog Don't write a logfile
