Changeset 7730
- Timestamp:
- Jun 28, 2006, 9:32:49 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r7677 r7730 1 1 # include "psphot.h" 2 3 static void usage (void) { 4 fprintf (stderr, "USAGE: ppImage [-file INPUT.fits] [-list INPUT.txt] OUTPUT\n"); 5 exit (2); 6 } 2 7 3 8 int main (int argc, char **argv) { … … 15 20 // load command-line arguments, options, and system config data 16 21 pmConfig *config = psphotArguments (argc, argv); 17 if (config == NULL) { 18 psErrorStackPrint(stderr, ""); 19 exit(1); 20 } 22 if (config == NULL) usage (); 21 23 22 24 // load input data (config and images (signal, noise, mask)
Note:
See TracChangeset
for help on using the changeset viewer.
