* Do not show a useless dash in the help message of custom fpmake options

git-svn-id: trunk@20028 -
This commit is contained in:
joost 2012-01-09 18:09:15 +00:00
parent a64ec6c1ce
commit 3895a0de0d

View File

@ -3651,7 +3651,10 @@ procedure TCustomInstaller.Usage(const FMT: String; Args: array of const);
Procedure LogArgOption(const C,LC,Msg : String);
begin
Log(vlInfo,Format(' -%s --%-20s %s',[C,LC+'='+SValue,MSG]));
if trim(c)='' then
Log(vlInfo,Format(' --%-20s %s',[LC+'='+SValue,MSG]))
else
Log(vlInfo,Format(' -%s --%-20s %s',[C,LC+'='+SValue,MSG]));
end;
var