Imported Upstream version 4.6.0
[debian/atlc] / tools / src / usage_coax.c
1 /*
2 atlc - arbitrary transmission line calculator, for the analysis of
3 transmission lines are directional couplers. 
4
5 Copyright (C) 2002. Dr. David Kirkby, PhD (G8WRB).
6
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either package_version 2
10 of the License, or (at your option) any later package_version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
20 USA.
21
22 Dr. David Kirkby, e-mail drkirkby at ntlworld.com 
23
24 */
25
26 #include "config.h"
27
28 #ifdef HAVE_STDIO_H
29 #include <stdio.h>
30 #endif
31
32 #ifdef HAVE_STDLIB_H
33 #include <stdlib.h>
34 #endif
35
36 void usage_coax(){
37     fprintf(stderr,"coax version %s. Find properties of a coaxial cable\n\n",PACKAGE_VERSION);
38
39     fprintf(stderr,"Usage: coax [-O offset] d  D Er\n");
40     fprintf(stderr,"coax %s: arguments are:\n",PACKAGE_VERSION);
41     fprintf(stderr,"       'd'       is the diameter of the inner conductor\n"); 
42     fprintf(stderr,"       'D'       is the internal diameter of the outer conductor\n"); 
43     fprintf(stderr,"       'Er'      is the permittivity of the dielectric\n"); 
44     fprintf(stderr,"       'offset'  (if supplied as an option) is the offset between the\n"); 
45     fprintf(stderr,"                 centres of the conductors in an eccentric coaxial structure.\n"); 
46     exit(1);
47 }