Changeset 27227 for trunk/pswarp/src/pswarp.c
- Timestamp:
- Mar 9, 2010, 2:28:05 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarp.c
r27135 r27227 14 14 #include "pswarpFileNames.h" 15 15 16 static void usage (void) {17 fprintf(stderr, "USAGE: pswarp [-file image(s)] [-list imagelist] [options] (output) (skycell)\n");18 fprintf(stderr, " options:\n");19 fprintf(stderr, " [-astrom astrom.cmp] : provide an alternative astrometry calibration\n");20 fprintf(stderr, " [-mask mask.fits] : provide a corresponding mask image\n");21 fprintf(stderr, " [-variance variance.fits] : provide a corresponding variance image\n");22 psErrorStackPrint(stderr, "\n");23 exit(PS_EXIT_CONFIG_ERROR);24 }25 26 16 int main (int argc, char **argv) 27 17 { … … 37 27 38 28 pmConfig *config = pswarpArguments(argc, argv); 39 if (!config) usage(); 29 if (!config) { 30 goto DIE; 31 } 40 32 41 33 pswarpVersionPrint();
Note:
See TracChangeset
for help on using the changeset viewer.
