Changeset 184

Show
Ignore:
Timestamp:
10/23/08 20:55:33 (3 months ago)
Author:
drarok
Message:

* Added a little --help info.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • hellaworld/branches/autonzb/cron.php

    r183 r184  
    1818array_shift($_SERVER['argv']); // Drop the cron.php arg. 
    1919$args = array_map('strtolower', $_SERVER['argv']); 
     20 
     21if (in_array('--help', $args)) 
     22        die("Usage: php cron.php [-v] [Show Name] [Show Name], ...\n"); 
     23 
    2024$verbose = in_array('-v', $args); 
    2125