Changeset 11848
- Timestamp:
- Feb 16, 2007, 10:46:05 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStac/src/ppStacOptions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStac/src/ppStacOptions.c
r11631 r11848 55 55 PS_ASSERT_PTR_NON_NULL(argv, NULL); 56 56 57 if (*argc <= 1 || psArgumentGet(*argc, argv, "-help") || psArgumentGet(*argc, argv, "-h")) { 58 fprintf(stderr, 59 "ppStac: Combine multiple registered images.\n\n" 60 "Usage: %s OUT.fits IN1.fits IN2.fits ... [-recipe NAME FILE]\n\n", 61 argv[0]); 62 exit(PS_EXIT_SUCCESS); 63 } 64 57 65 ppStacOptions *options = ppStacOptionsAlloc(); // Options, to be returned 58 66 … … 64 72 psFree(options); 65 73 return NULL; 66 }67 68 if (*argc <= 1 || psArgumentGet(*argc, argv, "-help") || psArgumentGet(*argc, argv, "-h")) {69 fprintf(stderr,70 "ppStac: Combine multiple registered images.\n\n"71 "Usage: %s OUT.fits IN1.fits IN2.fits ... [-recipe NAME FILE]\n\n",72 argv[0]);73 psFree(options);74 exit(PS_EXIT_SUCCESS);75 74 } 76 75
Note:
See TracChangeset
for help on using the changeset viewer.
