From 65a6c5505b29a946faa06fd55929238280176d32 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sun, 25 Apr 2004 18:15:49 +0000 Subject: update help output --- src/main.c | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index fa00985..631ca6e 100644 --- a/src/main.c +++ b/src/main.c @@ -25,8 +25,8 @@ #include extern char *__progname; -const char *copyright = "$ TGeb parasite 0.2 -" \ - " Copyright (c) 2004 demon $"; +const char *copyright = "TGeb parasite 0.2 - " \ + "Copyright (c) 2004 demon "; void usage(void); void prdt(AN_D *, TA_D *); @@ -172,7 +172,24 @@ prdt(AN_D * an_d, TA_D * ta_d) void usage() { - printf("Usage: %s [-nrfo12eO] [-NWE]\n", __progname); + printf("%s\n", copyright); + printf("Usage: %s [-CRP9nrfo12O] [-h ] [-q ] [-u] [-?]\n", __progname); + printf(" -C Call-by-Call (default)\n" \ + " -R Call-by-Call with registration\n" \ + " -P Preselect\n" \ + " -9 with 0190 (default - without)\n" \ + " -n Nah\n" \ + " -r Reg. 50km\n" \ + " -f Fern (default)\n" \ + " -o Ort\n" \ + " -1 D1\n" \ + " -2 D2\n" \ + " -e E+\n" \ + " -O o2\n" \ + " -h hour (default - now)\n" \ + " -q output quantity (default - 3)\n" \ + " -u update db\n" \ + " -? usage\n"); exit(1); return; } -- cgit v1.2.3