- Timestamp:
- Jun 19, 2012, 5:24:19 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
pstamp/src/ppstampArguments.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/pstamp/src/ppstampArguments.c
r33415 r34041 62 62 *pOptions = options; 63 63 64 if (!pstampGetROI(&options->roip, &argc, argv, &gotCenter, &gotRange)) { 65 usage(); 64 if ((argnum = psArgumentGet(argc, argv, "-wholefile"))) { 65 psArgumentRemove(argnum, &argc, argv); 66 gotCenter = true; 67 gotRange = true; 68 options->wholeFile = true; 69 } else { 70 if (!pstampGetROI(&options->roip, &argc, argv, &gotCenter, &gotRange)) { 71 usage(); 72 } 66 73 } 67 74 … … 105 112 106 113 if ((argnum = psArgumentGet(argc, argv, "-no_censor_masked"))) { 114 // this is the default. This is for compatiability 107 115 psArgumentRemove(argnum, &argc, argv); 108 116 options->censorMasked = false; 117 } 118 if ((argnum = psArgumentGet(argc, argv, "-censor_masked"))) { 119 // default changed to not censor allow it to be changed back to true 120 psArgumentRemove(argnum, &argc, argv); 121 options->censorMasked = true; 122 } 123 if ((argnum = psArgumentGet(argc, argv, "-nocompress"))) { 124 psArgumentRemove(argnum, &argc, argv); 125 options->nocompress = true; 109 126 } 110 127
Note:
See TracChangeset
for help on using the changeset viewer.
