IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 4, 2014, 5:57:37 PM (12 years ago)
Author:
eugene
Message:

add fake images to fakeastro (not quite ready)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/fakeastro/src/initialize.c

    r37453 r37463  
    1212  if (get_argument (argc, argv, "--help")) usage();
    1313
     14  args (&argc, argv);
    1415  ConfigInit (&argc, argv);
    15   args (argc, argv);
    16 
    17   // check for existence of CATDIR
    18   struct stat filestat;
    19   int status = stat (CATDIR, &filestat);
    20   if (!FORCE && (status == 0)) {
    21     fprintf (stderr, "directory %s exist, refusing to contaminate\n", CATDIR);
    22     exit (1);
    23   }
     16  if (argc != 1) usage ();
    2417
    2518}
     
    2720void initialize_client (int argc, char **argv) {
    2821
     22  args_client (&argc, argv);
    2923  ConfigInit (&argc, argv);
    30   args_client (argc, argv);
     24  if (argc != 1) usage_client ();
    3125}
    3226
Note: See TracChangeset for help on using the changeset viewer.