Changeset 10791
- Timestamp:
- Dec 16, 2006, 11:49:55 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphot.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphot.c
r10424 r10791 2 2 3 3 static void usage (void) { 4 fprintf (stderr, "USAGE: psphot [-file INPUT.fits] [-list INPUT.txt] OUTPUT\n");4 fprintf (stderr, "USAGE: psphot [-file image(s)] [-list imagelist] (output)\n"); 5 5 exit (2); 6 6 } … … 12 12 psphotErrorRegister(); // register our error codes/messages 13 13 14 // basic pslib options15 psLogSetFormat ("M");16 17 14 // load implementation-specific models 18 15 psphotModelGroupInit (); … … 20 17 // load command-line arguments, options, and system config data 21 18 pmConfig *config = psphotArguments (argc, argv); 22 if ( config == NULL) usage ();19 if (!config) usage (); 23 20 24 21 // load input data (config and images (signal, noise, mask) 25 22 if (!psphotParseCamera (config)) { 26 psErrorStackPrint(stderr, " ");23 psErrorStackPrint(stderr, "error setting up the camera"); 27 24 exit(1); 28 25 }
Note:
See TracChangeset
for help on using the changeset viewer.
