~ubuntu-branches/ubuntu/precise/yagiuda/precise

« back to all changes in this revision

Viewing changes to src/usage_yagi.c

  • Committer: Bazaar Package Importer
  • Author(s): Joop Stakenborg
  • Date: 2005-08-22 20:20:13 UTC
  • Revision ID: james.westby@ubuntu.com-20050822202013-mhhxp4xirdxrdfx1
Tags: upstream-1.19
ImportĀ upstreamĀ versionĀ 1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifdef HAVE_STDLIB_H
 
2
#include <stdlib.h>
 
3
#endif
 
4
#include <stdio.h>
 
5
#include "yagi.h"
 
6
 
 
7
void usage_yagi(char *exefile)
 
8
{
 
9
        
 
10
                fprintf(stderr,"\nYagi-Uda antenna analysis programs, version %.2f\n", version());
 
11
                fprintf(stderr,"Written by Dr. David Kirkby Ph.D. G8WRB (email:david.kirkby@onetel.net)\n");
 
12
                fprintf(stderr, "\nUSAGE: %s  [-dhps] filename \n\n", exefile);
 
13
                fprintf(stderr, "Where options are:\n");
 
14
                fprintf(stderr, "   -d     Display  bar-graphs, proportional to element currents\n");
 
15
                fprintf(stderr, "   -h     Print this help screen\n");
 
16
                fprintf(stderr, "   -p     Print Z matrix to screen.\n");
 
17
                fprintf(stderr, "   -s     Suppress diagnostic output\n");
 
18
                fprintf(stderr, "'yagi' computes the currents at the centre of of each element of an antenna \ndescribed in 'filename', where 'filename' was created by 'input' or 'first'.\n");
 
19
                fprintf(stderr, "After running 'yagi filename' type 'output filename'\n");
 
20
}