diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-07 18:59:10 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-07 18:59:10 +0000 |
commit | 6a874b4428c5d3d0152181c53af653135b7fcdf0 (patch) | |
tree | e8cdaf39c651c4825efb584772180da10b13d5de /ncpd | |
parent | d2342ca0c79bb97dc386fe06467ec3d77fbf07ea (diff) | |
download | plptools-6a874b4428c5d3d0152181c53af653135b7fcdf0.tar.gz plptools-6a874b4428c5d3d0152181c53af653135b7fcdf0.tar.bz2 plptools-6a874b4428c5d3d0152181c53af653135b7fcdf0.zip |
- Corrected help message
Diffstat (limited to 'ncpd')
-rw-r--r-- | ncpd/main.cc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ncpd/main.cc b/ncpd/main.cc index 4771744..7802616 100644 --- a/ncpd/main.cc +++ b/ncpd/main.cc @@ -154,9 +154,18 @@ help() " all - All of the above\n" " -s, --serial=DEV Use serial device DEV.\n" " -b, --baudrate=RATE Set serial speed to BAUD.\n" + ); + cout << +#if DSPEED > 0 +#define SPEEDSTR(x) #x + _(" Default: ") << DSPEED << ".\n"; +#else + _(" Default: Autocycle 115.2k, 57.6k 38.4k, 19.2k\n"); +#endif + cout << _( " -p, --port=[HOST:]PORT Listen on host HOST, port PORT.\n" - " Default for HOST is 127.0.0.1\n" - " Default for PORT is " + " Default for HOST: 127.0.0.1\n" + " Default for PORT: " ) << DPORT << "\n\n"; } |