From 67991cf824f8df27e74c92d754fb507681c69ce6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Feb 2001 21:23:06 +0000 Subject: This patch, put together by Manuel Novoa III, is a merge of work done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. --- rdate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rdate.c') diff --git a/rdate.c b/rdate.c index d350be877..38a7689e9 100644 --- a/rdate.c +++ b/rdate.c @@ -95,14 +95,14 @@ int rdate_main(int argc, char **argv) /* Interpret command line args */ /* do special-case option parsing */ if (argv[1] && (strcmp(argv[1], "--help") == 0)) - usage(rdate_usage); + show_usage(); /* do normal option parsing */ while ((opt = getopt(argc, argv, "Hsp")) > 0) { switch (opt) { default: case 'H': - usage(rdate_usage); + show_usage(); break; case 's': setdate++; @@ -117,7 +117,7 @@ int rdate_main(int argc, char **argv) if (printdate==0 && setdate==0) setdate++; if (optind == argc) { - usage(rdate_usage); + show_usage(); } if ((time= askremotedate(argv[optind])) == (time_t)-1) { -- cgit v1.2.3