Changeset 439 in ntrip


Ignore:
Timestamp:
Apr 11, 2007, 11:08:39 AM (17 years ago)
Author:
stoecker
Message:

added more version information in help view

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ntripclient/NtripLinuxClient.c

    r438 r439  
    11/*
    22  Easy example NTRIP client for Linux/Unix.
    3   $Id: NtripLinuxClient.c,v 1.24 2007/01/09 08:16:33 stoecker Exp $
     3  $Id: NtripLinuxClient.c,v 1.25 2007/04/04 14:23:47 stoecker Exp $
    44  Copyright (C) 2003-2005 by Dirk Stoecker <soft@dstoecker.de>
    55   
     
    3434#include <time.h>
    3535
     36#ifndef COMPILEDATE
     37#define COMPILEDATE " built " __DATE__
     38#endif
     39
    3640/* The string, which is send as agent in HTTP request */
    3741#define AGENTSTRING "NTRIP NtripLinuxClient"
     
    4145
    4246/* CVS revision and version */
    43 static char revisionstr[] = "$Revision: 1.24 $";
    44 static char datestr[]     = "$Date: 2007/01/09 08:16:33 $";
     47static char revisionstr[] = "$Revision: 1.25 $";
     48static char datestr[]     = "$Date: 2007/04/04 14:23:47 $";
    4549
    4650struct Args
     
    229233  if(!res || help)
    230234  {
    231     fprintf(stderr, "Version %s (%s) GPL\nUsage:\n%s -s server -u user ...\n"
     235    fprintf(stderr, "Version %s (%s) GPL" COMPILEDATE "\nUsage:\n%s -s server -u user ...\n"
    232236    " -d " LONG_OPT("--data     ") "the requested data set\n"
    233237    " -s " LONG_OPT("--server   ") "the server name or address\n"
  • trunk/ntripserver/NtripLinuxServer.c

    r398 r439  
    126126#include <sys/termios.h>
    127127#include <sys/types.h>
     128
     129#ifndef COMPILEDATE
     130#define COMPILEDATE " built " __DATE__
     131#endif
    128132
    129133#ifndef MSG_DONTWAIT
     
    924928void usage(int rc)
    925929{
    926   fprintf(stderr, "Usage: %s [OPTIONS]\n", VERSION);
     930  fprintf(stderr, "Usage: " VERSION " [OPTIONS]" COMPILEDATE "\n");
    927931  fprintf(stderr, "  Options are: [-]           \n");
    928932  fprintf(stderr, "    -a DestinationCaster name or address (default: %s)\n",
  • trunk/rtcm3torinex/rtcm3torinex.c

    r378 r439  
    11/*
    22  Converter for RTCM3 data to RINEX.
    3   $Id: rtcm3torinex.c,v 1.16 2007/01/11 15:32:26 stoecker Exp $
     3  $Id: rtcm3torinex.c,v 1.17 2007/01/23 17:16:39 stoecker Exp $
    44  Copyright (C) 2005-2006 by Dirk Stoecker <stoecker@euronik.eu>
    55
     
    5151
    5252/* CVS revision and version */
    53 static char revisionstr[] = "$Revision: 1.16 $";
     53static char revisionstr[] = "$Revision: 1.17 $";
     54
     55#ifndef COMPILEDATE
     56#define COMPILEDATE " built " __DATE__
     57#endif
    5458
    5559static uint32_t CRC24(long size, const unsigned char *buf)
     
    10171021
    10181022#ifndef NO_RTCM3_MAIN
    1019 static char datestr[]     = "$Date: 2007/01/11 15:32:26 $";
     1023static char datestr[]     = "$Date: 2007/01/23 17:16:39 $";
    10201024
    10211025/* The string, which is send as agent in HTTP request */
     
    12351239  if(!res || help)
    12361240  {
    1237     RTCM3Error("Version %s (%s) GPL\nUsage: %s -s server -u user ...\n"
     1241    RTCM3Error("Version %s (%s) GPL" COMPILEDATE
     1242    "\nUsage: %s -s server -u user ...\n"
    12381243    " -d " LONG_OPT("--data       ") "the requested data set\n"
    12391244    " -f " LONG_OPT("--headerfile ") "file for RINEX header information\n"
Note: See TracChangeset for help on using the changeset viewer.