2015-02-17 13:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/compiler/cmdcheck.c
! fixed error messages when wrong parameters are passed.
When wrong parameters are taken from HARBOURCMD or CLIPPERCMD
"Bad command line option '%s'"
error is generated and
"Bad command line parameter '%s'"
when wrong parameters are from command line.
New behavior is Cl*pper compatible.
This commit is contained in:
@@ -10,6 +10,16 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2015-02-17 13:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/compiler/cmdcheck.c
|
||||
! fixed error messages when wrong parameters are passed.
|
||||
When wrong parameters are taken from HARBOURCMD or CLIPPERCMD
|
||||
"Bad command line option '%s'"
|
||||
error is generated and
|
||||
"Bad command line parameter '%s'"
|
||||
when wrong parameters are from command line.
|
||||
New behavior is Cl*pper compatible.
|
||||
|
||||
2015-02-17 12:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* contrib/hbssl/tests/inetssl.prg
|
||||
* contrib/rddads/ads1.c
|
||||
|
||||
@@ -819,7 +819,9 @@ static const char * hb_compChkParseSwitch( HB_COMP_DECL, const char * szSwitch,
|
||||
{
|
||||
if( szSwPtr - szSwitch <= 1 ||
|
||||
( *szSwPtr != '\0' && *szSwPtr != ' ' && ! HB_ISOPTSEP( *szSwPtr ) ) )
|
||||
hb_compGenError( HB_COMP_PARAM, hb_comp_szErrors, 'F', HB_COMP_ERR_BADOPTION, szSwitch, NULL );
|
||||
hb_compGenError( HB_COMP_PARAM, hb_comp_szErrors, 'F',
|
||||
fEnv ? HB_COMP_ERR_BADOPTION : HB_COMP_ERR_BADPARAM,
|
||||
szSwitch, NULL );
|
||||
else
|
||||
return szSwPtr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user