aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2004-04-25 18:15:49 +0000
committerDimitri Sokolyuk <demon@dim13.org>2004-04-25 18:15:49 +0000
commit65a6c5505b29a946faa06fd55929238280176d32 (patch)
treee75cc817476ff485f268c15c9023bdcc3a1124d9
parent1d647a3018a73e9736e02c42685b18d23fea5b11 (diff)
update help output
-rw-r--r--src/main.c23
1 files 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 <tgebup.h>
extern char *__progname;
-const char *copyright = "$ TGeb parasite 0.2 -" \
- " Copyright (c) 2004 demon <demon@vhost.dyndns.org> $";
+const char *copyright = "TGeb parasite 0.2 - " \
+ "Copyright (c) 2004 demon <demon@vhost.dyndns.org>";
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 <hour>] [-q <quantity>] [-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;
}