IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 27, 2005, 3:21:40 PM (21 years ago)
Author:
eugene
Message:

substantial work to move kii/kapa call into libkapa

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/ps.c

    r5846 r5850  
    66  int N, Source, Nsource, RawImage, NoScale, IsImage;
    77 
    8   if ((N = get_argument (argc, argv, "--help"))) {
    9     fprintf (stderr, "USAGE: ps [-name file.ps] [-g | -i] [-n device] [-raw] [-scale]\n");
    10     return (FALSE);
    11   }
     8  if ((N = get_argument (argc, argv, "--help"))) goto help;
     9  if ((N = get_argument (argc, argv, "-h"))) goto help;
    1210
    1311  /* raw image? */
     
    5856  KiiPS (Source, NoScale, RawImage, filename);
    5957  return (TRUE);
     58
     59help:
     60  fprintf (stderr, "USAGE: ps [-name file.ps] [-g | -i] [-n device] [-raw] [-scale]\n");
     61  return (FALSE);
    6062}
    6163
Note: See TracChangeset for help on using the changeset viewer.