Index: /trunk/BNC/src/bncmain.cpp
===================================================================
--- /trunk/BNC/src/bncmain.cpp	(revision 7282)
+++ /trunk/BNC/src/bncmain.cpp	(revision 7283)
@@ -84,199 +84,204 @@
       "\n"
       "Internal keys:\n"
-      "           --startTab      <Top panel index number>\n"
-      "           --statusTab     <Bottom panel index number>\n"
-      "           --font          <Used font>\n"
+      "           startTab      <Top panel index number>\n"
+      "           statusTab     <Bottom panel index number>\n"
+      "           font          <Used font>\n"
       "\n"
       "Network Panel keys:\n"
-      "           --proxyHost       <Proxy host>\n"
-      "           --proxyPort       <Proxy port>\n"
-      "           --sslCaCertPath   <Path to SSL certificates>\n"
-      "           --ignoreSslErrors <Ignore SSL authorization errors, 0=no, 2=yes>\n"
+      "           proxyHost       <Proxy host>\n"
+      "           proxyPort       <Proxy port>\n"
+      "           sslCaCertPath   <Path to SSL certificates>\n"
+      "           ignoreSslErrors <Ignore SSL authorization errors, 0=no, 2=yes>\n"
       "\n"
       "General Panel keys:\n"
-      "           --logFile          <Logfile, full path>\n"
-      "           --rnxAppend        <Append files, 0=no, 2=yes>\n"
-      "           --onTheFlyInterval <Reread configuration, interval>\n"
-      "           --autoStart        <Auto start, 0=no, 2=yes>\n"
-      "           --rawOutFile       <Raw output file, full path>\n"
+      "           logFile          <Logfile, full path>\n"
+      "           rnxAppend        <Append files, 0=no, 2=yes>\n"
+      "           onTheFlyInterval <Reread configuration, interval>\n"
+      "           autoStart        <Auto start, 0=no, 2=yes>\n"
+      "           rawOutFile       <Raw output file, full path>\n"
       "\n"
       "RINEX Observations Panel keys:\n"
-      "           --rnxPath        <Directory>\n"
-      "           --rnxIntr        <Interval>\n"
-      "           --rnxSample      <Sampling [sec]> \n"
-      "           --rnxSkel        <Skeleton file extension>\n"
-      "           --rnxOnlyWithSKL <Skeleton is mandatory, 0=no, 2=yes>\n"
-      "           --rnxScript      <File upload script>\n"
-      "           --rnxV2Priority  <Signal priority>\n"
-      "           --rnxV3          <Produce version 3 file contents, 0=no, 2=yes>\n"
-      "           --rnxV3filenames <Produce version 3 filenames, 0=no, 2=yes>\n"
+      "           rnxPath        <Directory>\n"
+      "           rnxIntr        <Interval>\n"
+      "           rnxSample      <Sampling [sec]> \n"
+      "           rnxSkel        <Skeleton file extension>\n"
+      "           rnxOnlyWithSKL <Skeleton is mandatory, 0=no, 2=yes>\n"
+      "           rnxScript      <File upload script>\n"
+      "           rnxV2Priority  <Signal priority>\n"
+      "           rnxV3          <Produce version 3 file contents, 0=no, 2=yes>\n"
+      "           rnxV3filenames <Produce version 3 filenames, 0=no, 2=yes>\n"
       "\n"
       "RINEX Ephemeris Panel keys:\n"
-      "           --ephPath         <Directory>\n"
-      "           --ephIntr         <Interval>\n"
-      "           --outEphPort      <Port>\n"
-      "           --ephV3           <Produce version 3 file contents, 0=no, 2=yes>\n"
-      "           --ephV3filenames  <Produde version 3 filenames, 0=no, 2=yes>\n"
+      "           ephPath         <Directory>\n"
+      "           ephIntr         <Interval>\n"
+      "           outEphPort      <Port>\n"
+      "           ephV3           <Produce version 3 file contents, 0=no, 2=yes>\n"
+      "           ephV3filenames  <Produde version 3 filenames, 0=no, 2=yes>\n"
       "\n"
       "RINEX Editing and QC Panel keys:\n"
-      "           --reqcAction            <Action, Edit/Concatenate|Analyze>\n"
-      "           --reqcObsFile           <Input observations file(s)>\n"
-      "           --reqcNavFile           <Input navigation file(s)>\n"
-      "           --reqcOutObsFile        <Output observations file>\n"
-      "           --reqcOutNavFile        <Output navigation file>\n"
-      "           --reqcOutLogFile        <Output logfile>\n"
-      "           --reqcLogSummaryOnly    <Only summary output logfile, 0=no, 2=yes>\n"
-      "           --reqcSkyPlotSignals    <Plots for signals list>\n"
-      "           --reqcPlotDir           <QC plots directory>\n"
-      "           --reqcRnxVersion        <RINEX version, 2|3>\n"
-      "           --reqcSampling          <RINEX sampling [sec]>\n"
-      "           --reqcV2Priority        <Version 2 signal priority list>\n"
-      "           --reqcStartDateTime     <Start time>\n"
-      "           --reqcEndDateTime       <Stop time>\n"
-      "           --reqcRunBy             <Operators name>\n"
-      "           --reqcUseObsTypes       <Use observation types list>\n"
-      "           --reqcComment           <Additional comments>\n"
-      "           --reqcOldMarkerName     <Old marker name>\n"
-      "           --reqcNewMarkerName     <New marker name>\n"
-      "           --reqcOldAntennaName    <Old antenna name>\n"
-      "           --reqcNewAntennaName    <New antenna name>\n"
-      "           --reqcOldAntennaNumber  <Old antenna number>\n"
-      "           --reqcNewAntennaNumber  <New antenna number>\n"
-      "           --reqcOldAntennadN      <Old north eccentritity>\n"
-      "           --reqcNewAntennadN      <New north eccentricity>\n"
-      "           --reqcOldAntennadE      <Old east eccentricity>\n"
-      "           --reqcNewAntennadE      <New east eccentricity>\n"
-      "           --reqcOldAntennadU      <Old up eccentritity>\n"
-      "           --reqcNewAntennadU      <New up eccentricity>\n"
-      "           --reqcOldReceiverName   <Old receiver name>\n"
-      "           --reqcNewReceiverName   <New receiver name>\n"
-      "           --reqcOldReceiverNumber <Old receiver number>\n"
-      "           --reqcNewReceiverNumber <New receiver number>\n"
+      "           reqcAction            <Action, Edit/Concatenate|Analyze>\n"
+      "           reqcObsFile           <Input observations file(s)>\n"
+      "           reqcNavFile           <Input navigation file(s)>\n"
+      "           reqcOutObsFile        <Output observations file>\n"
+      "           reqcOutNavFile        <Output navigation file>\n"
+      "           reqcOutLogFile        <Output logfile>\n"
+      "           reqcLogSummaryOnly    <Only summary output logfile, 0=no, 2=yes>\n"
+      "           reqcSkyPlotSignals    <Plots for signals list>\n"
+      "           reqcPlotDir           <QC plots directory>\n"
+      "           reqcRnxVersion        <RINEX version, 2|3>\n"
+      "           reqcSampling          <RINEX sampling [sec]>\n"
+      "           reqcV2Priority        <Version 2 signal priority list>\n"
+      "           reqcStartDateTime     <Start time>\n"
+      "           reqcEndDateTime       <Stop time>\n"
+      "           reqcRunBy             <Operators name>\n"
+      "           reqcUseObsTypes       <Use observation types list>\n"
+      "           reqcComment           <Additional comments>\n"
+      "           reqcOldMarkerName     <Old marker name>\n"
+      "           reqcNewMarkerName     <New marker name>\n"
+      "           reqcOldAntennaName    <Old antenna name>\n"
+      "           reqcNewAntennaName    <New antenna name>\n"
+      "           reqcOldAntennaNumber  <Old antenna number>\n"
+      "           reqcNewAntennaNumber  <New antenna number>\n"
+      "           reqcOldAntennadN      <Old north eccentritity>\n"
+      "           reqcNewAntennadN      <New north eccentricity>\n"
+      "           reqcOldAntennadE      <Old east eccentricity>\n"
+      "           reqcNewAntennadE      <New east eccentricity>\n"
+      "           reqcOldAntennadU      <Old up eccentritity>\n"
+      "           reqcNewAntennadU      <New up eccentricity>\n"
+      "           reqcOldReceiverName   <Old receiver name>\n"
+      "           reqcNewReceiverName   <New receiver name>\n"
+      "           reqcOldReceiverNumber <Old receiver number>\n"
+      "           reqcNewReceiverNumber <New receiver number>\n"
       "\n"
       "SP3 Comparison Panel keys:\n"
-      "           --sp3CompFile       <SP3 input files, full path>\n"
-      "           --sp3CompExclude    <Satellite exclusion list>\n"
-      "           --sp3CompOutLogFile <Output logfile>\n"
+      "           sp3CompFile       <SP3 input files, full path>\n"
+      "           sp3CompExclude    <Satellite exclusion list>\n"
+      "           sp3CompOutLogFile <Output logfile>\n"
       "\n"
       "Broadcast Corrections Panel keys:\n"
-      "           --corrPath <Directory for saving files in ASCII format>\n"
-      "           --corrIntr <Interval>\n"
-      "           --corrPort <Port>\n"
+      "           corrPath <Directory for saving files in ASCII format>\n"
+      "           corrIntr <Interval>\n"
+      "           corrPort <Port>\n"
       "\n"
       "Feed Engine Panel keys:\n"
-      "           --outPort  <Port>\n"
-      "           --waitTime <Wait for full obs epoch [sec]>\n"
-      "           --binSampl <Sampling [sec]>\n"
-      "           --outFile  <File, full path>\n"
-      "           --outUPort <Port, unsynchronized output)>\n"
+      "           outPort  <Port>\n"
+      "           waitTime <Wait for full obs epoch [sec]>\n"
+      "           binSampl <Sampling [sec]>\n"
+      "           outFile  <File, full path>\n"
+      "           outUPort <Port, unsynchronized output)>\n"
       "\n"
       "Serial Output Panel:\n"
-      "           --serialMountPoint         <Mountpoint>\n"
-      "           --serialPortName           <Port name>\n"
-      "           --serialBaudRate           <Baud rate, 110|300|600|1200|2400|4800|9600|...>\n"
-      "           --serialFlowControl        <Flow control, OFF|XONXOFF|HARDWARE>\n"
-      "           --serialDataBits           <Data bits, 5|6|7|8>\n"
-      "           --serialParity             <Parity, NONE|ODD|EVEN|SPACE>\n"
-      "           --serialStopBits           <Stop bits, 1|2>\n"
-      "           --serialAutoNMEA           <NMEA, no|Auto|Manual GPGGA|Manual GNGGA>\n"
-      "           --serialFileNMEA           <NMEA filename>\n"
-      "           --serialHeightNMEA         <Height>\n"
-      "           --serialHeightNMEASampling <Sampling [sec]>\n"
+      "           serialMountPoint         <Mountpoint>\n"
+      "           serialPortName           <Port name>\n"
+      "           serialBaudRate           <Baud rate, 110|300|600|1200|2400|4800|9600|...>\n"
+      "           serialFlowControl        <Flow control, OFF|XONXOFF|HARDWARE>\n"
+      "           serialDataBits           <Data bits, 5|6|7|8>\n"
+      "           serialParity             <Parity, NONE|ODD|EVEN|SPACE>\n"
+      "           serialStopBits           <Stop bits, 1|2>\n"
+      "           serialAutoNMEA           <NMEA, no|Auto|Manual GPGGA|Manual GNGGA>\n"
+      "           serialFileNMEA           <NMEA filename>\n"
+      "           serialHeightNMEA         <Height>\n"
+      "           serialHeightNMEASampling <Sampling [sec]>\n"
       "\n"
       "Outages Panel keys:\n"
-      "           --obsRate      <Observation rate, 0.1 Hz|0.2 Hz|0.5 Hz|1 Hz|5 Hz> \n"
-      "           --adviseFail   <Failure threshold [min]>\n"
-      "           --adviseReco   <Recovery threshold [min]>\n"
-      "           --adviseScript <Script, full path>\n"
+      "           obsRate      <Observation rate, 0.1 Hz|0.2 Hz|0.5 Hz|1 Hz|5 Hz> \n"
+      "           adviseFail   <Failure threshold [min]>\n"
+      "           adviseReco   <Recovery threshold [min]>\n"
+      "           adviseScript <Script, full path>\n"
       "\n"
       "Miscellaneous Panel keys:\n"
-      "           --miscMount <Mountpoint>\n"
-      "           --perfIntr  <Log latency, interval>\n"
-      "           --scanRTCM  <Scan for RTCM message numbers, 0=no, 2=yes>\n"
-      "           --miscPort  <Port output>\n"
+      "           miscMount <Mountpoint>\n"
+      "           perfIntr  <Log latency, interval>\n"
+      "           scanRTCM  <Scan for RTCM message numbers, 0=no, 2=yes>\n"
+      "           miscPort  <Port output>\n"
       "\n"
       "PPP Client Panel 1 keys:\n"
-      "           --dataSource  <Data source, Real-Time Streams| RINEX Files>\n"
-      "           --rinexObs    <RINEX observation file>\n"
-      "           --rinexNav    <RINEX navigation file>\n"
-      "           --corrMount   <Corrections mountpoint>\n"
-      "           --corrFile    <Corrections file>\n"
-      "           --crdFile     <Coordinates file>\n"
-      "           --logFilePPP  <PPP logfile>\n"
-      "           --antexFile   <ANTEX file>\n"
-      "           --nmeaFile    <NMEA output file>\n"
-      "           --snxtroFile  <SINEX troposphere output filename>\n"
-      "           --snxtroSampl <SINEX troposphere sampling rate [sec]>\n"
+      "           dataSource  <Data source, Real-Time Streams| RINEX Files>\n"
+      "           rinexObs    <RINEX observation file>\n"
+      "           rinexNav    <RINEX navigation file>\n"
+      "           corrMount   <Corrections mountpoint>\n"
+      "           corrFile    <Corrections file>\n"
+      "           crdFile     <Coordinates file>\n"
+      "           logFilePPP  <PPP logfile>\n"
+      "           antexFile   <ANTEX file>\n"
+      "           nmeaFile    <NMEA output file>\n"
+      "           snxtroFile  <SINEX troposphere output filename>\n"
+      "           snxtroSampl <SINEX troposphere sampling rate [sec]>\n"
       "\n"
       "PPP Client Panel 2 keys:\n"
-      "           --staTable <Stations table>\n"
+      "           staTable <Stations table>\n"
       "\n"
       "PPP Client Panel 3 keys:\n"
-      "           --lcGPS        <Select linear combination from GPS code or phase data>\n"
-      "           --lcGLONASS    <Select linear combination from GLONASS code or phase data>\n"
-      "           --lcGalileo    <Select linear combination from Galileo code or phase data>\n"
-      "           --lcBDS        <Select linear combination from BDS code or phase data>\n"
-      "           --sigmaC1      <Sigma for code observations [m]>\n"
-      "           --sigmaL1      <Sigma for phase observations [m]>\n"
-      "           --maxResC1     <Maximal residuum for code observations [m]>\n"
-      "           --maxResL1     <Maximal residuum for phase observations [m]>\n"
-      "           --eleWgtCode   <Elevation dependent waiting of code observations, 0=no, 2=yes>\n"
-      "           --eleWgtPhase  <Elevation dependent waiting of phase observations, 0=no, 2=yes>\n"
-      "           --minObs       <Minimum number of observations>\n"
-      "           --minEle       <Minimum elevation [deg]>\n"
-      "           --corrWaitTime <Wait for clock corrections [sec]>\n"
-      "           --seedingTime  <Seeding time span for Quick Start [sec]>\n"
+      "           lcGPS        <Select linear combination from GPS code or phase data>\n"
+      "           lcGLONASS    <Select linear combination from GLONASS code or phase data>\n"
+      "           lcGalileo    <Select linear combination from Galileo code or phase data>\n"
+      "           lcBDS        <Select linear combination from BDS code or phase data>\n"
+      "           sigmaC1      <Sigma for code observations [m]>\n"
+      "           sigmaL1      <Sigma for phase observations [m]>\n"
+      "           maxResC1     <Maximal residuum for code observations [m]>\n"
+      "           maxResL1     <Maximal residuum for phase observations [m]>\n"
+      "           eleWgtCode   <Elevation dependent waiting of code observations, 0=no, 2=yes>\n"
+      "           eleWgtPhase  <Elevation dependent waiting of phase observations, 0=no, 2=yes>\n"
+      "           minObs       <Minimum number of observations>\n"
+      "           minEle       <Minimum elevation [deg]>\n"
+      "           corrWaitTime <Wait for clock corrections [sec]>\n"
+      "           seedingTime  <Seeding time span for Quick Start [sec]>\n"
       "\n"
       "PPP Client Panel 4 keys:\n"
-      "           --plotCoordinates  <Mountpoint for time series plot>\n"
-      "           --audioResponse    <Audio response threshold [m]>\n"
-      "           --useOpenStreetMap <OSM track map, true|false>\n"
-      "           --useGoogleMap     <Google track map, true|false>\n"
-      "           --mapWinDotSize    <Size of dots on map>\n"
-      "           --mapWinDotColor   <Color of dots and cross hair on map, red|yellow>\n"
-      "           --mapSpeedSlider   <Offline processing speed for mapping, 1-100>\n"
+      "           plotCoordinates  <Mountpoint for time series plot>\n"
+      "           audioResponse    <Audio response threshold [m]>\n"
+      "           useOpenStreetMap <OSM track map, true|false>\n"
+      "           useGoogleMap     <Google track map, true|false>\n"
+      "           mapWinDotSize    <Size of dots on map>\n"
+      "           mapWinDotColor   <Color of dots and cross hair on map, red|yellow>\n"
+      "           mapSpeedSlider   <Offline processing speed for mapping, 1-100>\n"
       "\n"
       "Combine Corrections Panel keys:\n"
-      "           --combineStreams  <Table of correction streams\n"
-      "           --cmbMethodFilter <Approach, Single-Epoch|Filter\n"
-      "           --cmbMaxres       <Clock outlier threshold [m]\n"
-      "           --cmbSampl        <Orbit and clock sampling [m]\n"
-      "           --cmbUseGlonass   <Use GLONASS in combination, 0=no, 2=yes\n"
+      "           combineStreams  <Table of correction streams\n"
+      "           cmbMethodFilter <Approach, Single-Epoch|Filter\n"
+      "           cmbMaxres       <Clock outlier threshold [m]\n"
+      "           cmbSampl        <Orbit and clock sampling [m]\n"
+      "           cmbUseGlonass   <Use GLONASS in combination, 0=no, 2=yes\n"
       "\n"
       "Upload Corrections Panel keys:\n"
-      "           --uploadMountpointsOut   <Upload corrections table>\n"
-      "           --uploadIntr             <File interval, length of SP3 and Clock RINEX files>\n"
-      "           --uploadSamplRtcmEphCorr <Orbit corrections sampling interval [sec]>\n"
-      "           --uploadSamplSp3         <SP3 file sampling [min]>\n"
-      "           --uploadSamplClkRnx      <Clock RINEX file sampling [sec]>\n"
+      "           uploadMountpointsOut   <Upload corrections table>\n"
+      "           uploadIntr             <File interval, length of SP3 and Clock RINEX files>\n"
+      "           uploadSamplRtcmEphCorr <Orbit corrections sampling interval [sec]>\n"
+      "           uploadSamplSp3         <SP3 file sampling [min]>\n"
+      "           uploadSamplClkRnx      <Clock RINEX file sampling [sec]>\n"
       "\n"
       "Custom Trafo keys:\n"
-      "           --trafo_dx  <Translation X [m]>\n"
-      "           --trafo_dy  <Translation Y [m]>\n"
-      "           --trafo_dz  <Translation Z [m]>\n"
-      "           --trafo_dxr <Translation change X [m/y]>\n"
-      "           --trafo_dyr <Translation change Y [m/y]>\n"
-      "           --trafo_dzr <Translation change Z [m/y]>\n"
-      "           --trafo_ox  <Rotation X [as]>\n"
-      "           --trafo_oy  <Rotation Y [as]>\n"
-      "           --trafo_oz  <Rotation Z [as]>\n"
-      "           --trafo_oxr <Rotation change X [as/y]>\n"
-      "           --trafo_oyr <Rotation change Y [as/y]>\n"
-      "           --trafo_ozr <Rotation change Z [as/y]>\n"
-      "           --trafo_sc  <Scale [10^-9]>\n"
-      "           --trafo_scr <Scale change [10^-9/y]>\n"
-      "           --trafo_t0  <Reference year [y]>\n"
+      "           trafo_dx  <Translation X [m]>\n"
+      "           trafo_dy  <Translation Y [m]>\n"
+      "           trafo_dz  <Translation Z [m]>\n"
+      "           trafo_dxr <Translation change X [m/y]>\n"
+      "           trafo_dyr <Translation change Y [m/y]>\n"
+      "           trafo_dzr <Translation change Z [m/y]>\n"
+      "           trafo_ox  <Rotation X [as]>\n"
+      "           trafo_oy  <Rotation Y [as]>\n"
+      "           trafo_oz  <Rotation Z [as]>\n"
+      "           trafo_oxr <Rotation change X [as/y]>\n"
+      "           trafo_oyr <Rotation change Y [as/y]>\n"
+      "           trafo_ozr <Rotation change Z [as/y]>\n"
+      "           trafo_sc  <Scale [10^-9]>\n"
+      "           trafo_scr <Scale change [10^-9/y]>\n"
+      "           trafo_t0  <Reference year [y]>\n"
       "\n"
       "Upload Ephemeris Panel keys:\n"
-      "           --uploadEphHost       <Host>\n"
-      "           --uploadEphPort       <Port>\n"
-      "           --uploadEphMountpoint <Mountpoint>\n"
-      "           --uploadEphPassword   <Password>\n"
-      "           --uploadEphSample     <Sampling interval [sec]>\n"
+      "           uploadEphHost       <Host>\n"
+      "           uploadEphPort       <Port>\n"
+      "           uploadEphMountpoint <Mountpoint>\n"
+      "           uploadEphPassword   <Password>\n"
+      "           uploadEphSample     <Sampling interval [sec]>\n"
       "\n"
       "Add Stream keys:\n"
-      "           --mountPoints  <Mountpoint list>\n"
-      "           --ntripVersion <Ntrip Version, 1|2|2s|R|U>\n"
-      "           --casterUrlList <Visited URLs>\n";
+      "           mountPoints  <Mountpoint list>\n"
+      "           ntripVersion <Ntrip Version, 1|2|2s|R|U>\n"
+      "           casterUrlList <Visited URLs>\n"
+      "\n"
+      "Example:\n"
+      "bnc --conf BNC.bnc --key startTab 4 --key reqcAction Edit/Concatenate"
+      " --key reqcObsFile AGAR.15O --key reqcOutObsFile AGAR_X.15O"
+      " --key reqcRnxVersion 2 --key reqcSampling 30 --key reqcV2Priority CWPX_?\n";
 
   for (int ii = 1; ii < argc; ii++) {
