mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 22:06:08 +02:00
Document -d --debug option, and change short version of --doc-folder to -df as -d is already used by debug option
git-svn-id: trunk@40390 -
This commit is contained in:
parent
8db29007ff
commit
9f68bddf3b
@ -1785,6 +1785,7 @@ ResourceString
|
||||
SHelpConfig = 'Use indicated config file when compiling.';
|
||||
SHelpOptions = 'Pass extra options to the compiler.';
|
||||
SHelpVerbose = 'Be verbose when working.';
|
||||
SHelpDebug = 'Add debug information when working.';
|
||||
SHelpInteractive = 'Allow to interact with child processes';
|
||||
SHelpInstExamples = 'Install the example-sources.';
|
||||
SHelpSkipCrossProgs = 'Skip programs when cross-compiling/installing';
|
||||
@ -5290,7 +5291,7 @@ begin
|
||||
Defaults.BuildMode:=bmBuildUnit
|
||||
else if CheckOption(I,'io','ignoreinvalidoption', true) then
|
||||
Defaults.IgnoreInvalidOptions:=true
|
||||
else if CheckOption(I,'d','doc-folder') then
|
||||
else if CheckOption(I,'df','doc-folder') then
|
||||
Defaults.FPDocOutputDir:=OptionArg(I)
|
||||
else if CheckOption(I,'fsp','fpunitsrcpath') then
|
||||
Defaults.FPUnitSourcePath:=OptionArg(I)
|
||||
@ -5356,6 +5357,7 @@ begin
|
||||
LogOption('l','list-commands',SHelpList);
|
||||
LogOption('n','nofpccfg',SHelpNoFPCCfg);
|
||||
LogOption('v','verbose',SHelpVerbose);
|
||||
LogOption('d','debug',SHelpDebug);
|
||||
LogOption('I','interactive',SHelpInteractive);
|
||||
{$ifdef HAS_UNIT_PROCESS}
|
||||
LogOption('e', 'useenv', sHelpUseEnvironment);
|
||||
@ -5378,7 +5380,7 @@ begin
|
||||
LogArgOption('r','compiler',SHelpCompiler);
|
||||
LogArgOption('f','config',SHelpConfig);
|
||||
LogArgOption('o','options',SHelpOptions);
|
||||
LogArgOption('d', 'doc-folder', sHelpFpdocOutputDir);
|
||||
LogArgOption('df', 'doc-folder', sHelpFpdocOutputDir);
|
||||
LogArgOption('fsp', 'fpunitsrcpath', sHelpFPUnitSrcPath);
|
||||
LogArgOption('zp', 'zipprefix', sHelpZipPrefix);
|
||||
{$ifndef NO_THREADING}
|
||||
|
Loading…
Reference in New Issue
Block a user