Changeset 17582
- Timestamp:
- May 8, 2008, 11:05:22 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSim/src/ppSimSequence.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSim/src/ppSimSequence.c
r17557 r17582 43 43 } 44 44 45 char *label = NULL; 46 if ((argNum = psArgumentGet (argc, argv, "-label"))) { 47 psArgumentRemove(argNum, &argc, argv); 48 label = psStringCopy (argv[argNum]); 49 psArgumentRemove(argNum, &argc, argv); 50 } 51 45 52 if (argc != 4) { 46 fprintf (stderr, "USAGE: ppSimSequence (sequence) (simulate) (inject) \n");53 fprintf (stderr, "USAGE: ppSimSequence (sequence) (simulate) (inject) [options]\n"); 47 54 fprintf (stderr, "generates a set of simulated data defined by the sequence file\n"); 48 55 fprintf (stderr, " (sequence) : a mdc-file describing the desired image sequences\n"); 49 56 fprintf (stderr, " (simulate) : an output file with commands to generate the images\n"); 50 57 fprintf (stderr, " (inject) : an output file with commands to inject the images into the pipeline\n"); 51 fprintf (stderr, "\n"); 58 fprintf (stderr, "options:\n"); 59 fprintf (stderr, " -dbname (dbname)\n"); 60 fprintf (stderr, " -path (path)\n"); 61 fprintf (stderr, " -workdir (workdir)\n"); 62 fprintf (stderr, " -basename (basename)\n"); 63 fprintf (stderr, " -label (label)\n"); 52 64 exit (2); 53 65 } … … 76 88 if (dbname) psStringAppend (&injectCommand, " --dbname %s", dbname); 77 89 if (workdir) psStringAppend (&injectCommand, " --workdir %s", workdir); 90 if (label) psStringAppend (&injectCommand, " --label %s", label); 78 91 79 92 unsigned long seed = psMetadataLookupS32 (&status, config, "RND_SEED");
Note:
See TracChangeset
for help on using the changeset viewer.
