Changeset 4299 for trunk/Ohana/src/addstar/src/args.c
- Timestamp:
- Jun 17, 2005, 12:14:53 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/addstar/src/args.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/addstar/src/args.c
r3466 r4299 4 4 void help () { 5 5 6 fprintf (stderr, "USAGE: addstar (filename)\n"); 6 fprintf (stderr, "USAGE\n"); 7 fprintf (stderr, " addstar (filename)\n"); 8 fprintf (stderr, " add specified image (cmp format) to database\n\n"); 9 fprintf (stderr, " addstar -ref (filename)"); 10 fprintf (stderr, " add ASCII data (ra dec mag dmag) to database\n\n"); 11 fprintf (stderr, " addstar -cat (catalog)"); 12 fprintf (stderr, " add data from catalog (USNO/2MASS/GSC) to database\n\n"); 13 7 14 fprintf (stderr, " optional flags:\n"); 8 fprintf (stderr, " -v (verbose mode)\n"); 9 fprintf (stderr, " -p (photcode) - define the photcode\n"); 10 fprintf (stderr, "\n"); 15 fprintf (stderr, " -region ra ra dec dec : only add data in specified region (-ref mode only)\n"); 16 fprintf (stderr, " -p (photcode) : specify photcode (override header)\n"); 17 fprintf (stderr, " -time (YYYY/MM/DD,HH:MM:SS) : specify date/time (override header)\n"); 18 fprintf (stderr, " -mosaic (filename) : identify associated mosaic frame for chip image\n"); 19 fprintf (stderr, " -fits : input file is FITS table, not TEXT table\n"); 20 fprintf (stderr, " -existing-regions : only add measurements to existing catalog files\n"); 21 fprintf (stderr, " -only-match : only add measurements to existing objects\n"); 22 fprintf (stderr, " -missed : skipped 'missed' entries\n"); 23 fprintf (stderr, " -replace : replace time/photcode measurements (no duplication)\n"); 24 fprintf (stderr, " -image : only insert image data\n"); 25 fprintf (stderr, " -cal : perform zero-point calibration\n"); 26 fprintf (stderr, " -skyprobe : specify skyprobe mode\n"); 27 fprintf (stderr, " -accept : accept bad astrometry from header\n"); 28 fprintf (stderr, " -force : force read of database with inconsistent info\n"); 29 fprintf (stderr, " -v : verbose mode\n"); 30 fprintf (stderr, " -dump (mode) : output test data\n"); 31 fprintf (stderr, " -help : this list\n"); 32 fprintf (stderr, " -h : this list\n\n"); 11 33 exit (2); 12 34 } … … 99 121 /*** modify behavior ***/ 100 122 /* only add to existing objects */ 123 EXISTING_REGIONS = FALSE; 124 if ((N = get_argument (argc, argv, "-existing-regions"))) { 125 EXISTING_REGIONS = TRUE; 126 remove_argument (N, &argc, argv); 127 } 128 /* only add to existing objects */ 101 129 ONLY_MATCH = FALSE; 102 130 if ((N = get_argument (argc, argv, "-only-match"))) { … … 165 193 fprintf (stderr, "USAGE: addstar -cat (catalog)\n"); 166 194 fprintf (stderr, "USAGE: addstar -ref (filename)\n"); 167 fprintf (stderr, " cur: %s ", argv[0]);168 for (N = 0; N < argc; N++) { fprintf (stderr, "%s ", argv[N]); }169 fprintf (stderr, "\n");170 195 exit (2); 171 196 }
Note:
See TracChangeset
for help on using the changeset viewer.
