Changeset 125
- Timestamp:
- 12/13/05 17:21:47 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/soft/ObsData/bin/obsdata
- Property cvs2svn:cvs-rev changed from 1.11 to 1.12
r121 r125 23 23 GetOptions( 24 24 'c|config=s' => \my $configfile, 25 'check' => \my $check_only, 25 26 'l|logfile=s' => \my $log, 26 27 'debug' => sub { $verbose = 0 }, … … 31 32 =head1 SYNOPSIS 32 33 33 obsdata -c config_file [[-l logfile] [-d] [-v|--debug]] 34 obsdata -c config_file [[-l logfile] [-d] [-v|--debug]] [--check] 34 35 obsdata [-h|-help] 35 36 … … 41 42 42 43 Use this configuration file 44 45 =item --check 46 47 Only check config file and exit 43 48 44 49 =item -l|--logfile logfile … … 76 81 77 82 $obsdata->load or die "Can load osbdata"; 78 $obsdata->checkconfig or die "Error while checking configuration"; 83 my $checkres = $obsdata->checkconfig or die "Error while checking configuration"; 84 exit(0) if ($check_only); 79 85 80 86 my @obs = $obsdata->list_obs;
Note: See TracChangeset
for help on using the changeset viewer.