Changeset 7917 for trunk/Ohana/src/opihi/cmd.astro/csystem.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.astro/csystem.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.astro/csystem.c
r2598 r7917 13 13 14 14 if (argc != 5) { 15 fprintf (stderr, "USAGE: csystems [C/G/E/H] [C/G/E/H] X Y\n");15 gprint (GP_ERR, "USAGE: csystems [C/G/E/H] [C/G/E/H] X Y\n"); 16 16 return (FALSE); 17 17 } … … 22 22 switch (argv[2][0]) { 23 23 case 'C': 24 fprintf (stderr, "same coordinate system\n");24 gprint (GP_ERR, "same coordinate system\n"); 25 25 return (TRUE); 26 26 break; … … 51 51 break; 52 52 case 'G': 53 fprintf (stderr, "error: conversions between galactic and ecliptic not implemented\n");53 gprint (GP_ERR, "error: conversions between galactic and ecliptic not implemented\n"); 54 54 return (FALSE); 55 55 phi = -62.6*RAD_DEG; … … 73 73 break; 74 74 case 'E': 75 fprintf (stderr, "error: conversions between galactic and ecliptic not implemented\n");75 gprint (GP_ERR, "error: conversions between galactic and ecliptic not implemented\n"); 76 76 return (FALSE); 77 77 gettimeofday (&now, (struct timezone *) NULL); … … 91 91 92 92 if (xvec[0].Nelements != yvec[0].Nelements) { 93 fprintf (stderr, "vectors %s and %s not the same length\n", argv[3], argv[4]);93 gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[3], argv[4]); 94 94 return (FALSE); 95 95 }
Note:
See TracChangeset
for help on using the changeset viewer.
