mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
MG: fixed double parsing of command line
git-svn-id: trunk@1769 -
This commit is contained in:
parent
b3adab2b9e
commit
14bb8819d4
11
ide/main.pp
11
ide/main.pp
@ -538,6 +538,7 @@ var i: integer;
|
||||
begin
|
||||
if (ParamCount>0)
|
||||
and ((AnsiCompareText(ParamStr(1),'--help')=0)
|
||||
or (AnsiCompareText(ParamStr(1),'-help')=0)
|
||||
or (AnsiCompareText(ParamStr(1),'-?')=0)) then
|
||||
begin
|
||||
writeln('lazarus [options] <project-filename>');
|
||||
@ -546,11 +547,13 @@ begin
|
||||
writeln('');
|
||||
writeln('--help or -? this help message');
|
||||
writeln('');
|
||||
writeln('--primary-config-path primary config directory, where Lazarus');
|
||||
writeln('--primary-config-path <path>');
|
||||
writeln(' primary config directory, where Lazarus');
|
||||
writeln(' stores its config files. Default is ');
|
||||
writeln(' ',GetPrimaryConfigPath);
|
||||
writeln('');
|
||||
writeln('--secondary-config-path secondary config directory, where Lazarus');
|
||||
writeln('--secondary-config-path <path>');
|
||||
writeln(' secondary config directory, where Lazarus');
|
||||
writeln(' searches for config template files.');
|
||||
writeln(' Default is ',GetSecondaryConfigPath);
|
||||
writeln('');
|
||||
@ -618,7 +621,6 @@ begin
|
||||
inherited Create(TheOwner);
|
||||
|
||||
// load options
|
||||
ParseCmdLineOptions;
|
||||
CreatePrimaryConfigPath;
|
||||
LoadGlobalOptions;
|
||||
|
||||
@ -6559,6 +6561,9 @@ end.
|
||||
|
||||
{ =============================================================================
|
||||
$Log$
|
||||
Revision 1.318 2002/07/04 10:22:46 lazarus
|
||||
MG: fixed double parsing of command line
|
||||
|
||||
Revision 1.317 2002/06/28 06:34:54 lazarus
|
||||
MG: added Tabs To Spaces in Selection
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user