1 #ifdef HAVE_STDLIB_H
2 #include <stdlib.h>
3 #endif
4 #include <stdio.h>
5 #include "yagi.h"
6
usage_input(char * exefile)7 void usage_input(char *exefile)
8 {
9
10 fprintf(stderr,"\nYagi-Uda antenna analysis programs, version %.2f\n", version());
11 fprintf(stderr,"Written by David Kirkby BSc MSc G8WRB (email:david.kirkby@onetel.net)\n");
12 fprintf(stderr, "\nUSAGE: %s [-h] \n\n", exefile);
13
14 fprintf(stderr, "Where the only option is:\n");
15 fprintf(stderr, " -h Print this help screen\n\n\n");
16
17 fprintf(stderr,"'input' is an interactive program, that asks the user for formation about \n");
18 fprintf(stderr,"a Yagi design, such as position of elements, spacing between elements,\n");
19 fprintf(stderr,"frequency span of interest and a filename to save the data to. It then \n");
20 fprintf(stderr,"writes this information into an ASCII file, which can be read by 'yagi' or \n");
21 fprintf(stderr,"'optimise'. The file is ASCII and it's format is easily understood\n");
22 fprintf(stderr,"by inspection (there are comments printed in it), so it can if necessary\n");
23 fprintf(stderr,"be edited manually. After running 'input' and specifying a filename \n");
24 fprintf(stderr,"(for example 144e10) you should then type 'yagi 144e10' then 'output 144e10'\n");
25 fprintf(stderr,"and then and optionally 'optimise 144e10'.\n");
26 }
27
28