LazBuild: further improved output of help options

This commit is contained in:
Maxim Ganetsky 2024-01-21 16:09:06 +03:00
parent 84dc22c63c
commit 1db4e6beff

View File

@ -1815,9 +1815,9 @@ begin
writeln(''); writeln('');
writeln(lisLazbuildOptionsSyntax); writeln(lisLazbuildOptionsSyntax);
writeln(''); writeln('');
w(lisEdtExtToolParameters); writeln(lisEdtExtToolParameters);
writeln(''); writeln('');
writeln('--help, -?'); writeln('-?, --help');
w(lisThisHelpMessage); w(lisThisHelpMessage);
writeln(''); writeln('');
writeln('-B, --build-all'); writeln('-B, --build-all');
@ -1856,16 +1856,16 @@ begin
w(lisInsteadOfCompilePackageCreateASimpleMakefile); w(lisInsteadOfCompilePackageCreateASimpleMakefile);
writeln(''); writeln('');
writeln(PrimaryConfPathOptLong,'<path>, ',PrimaryConfPathOptShort,'<path>'); writeln(PrimaryConfPathOptShort,'<path>, ',PrimaryConfPathOptLong,'<path>');
w(Format(lisprimaryConfigDirectoryWhereLazarusStoresItsConfig, [LazConf.GetPrimaryConfigPath])); w(Format(lisprimaryConfigDirectoryWhereLazarusStoresItsConfig, [LazConf.GetPrimaryConfigPath]));
writeln(''); writeln('');
writeln(SecondaryConfPathOptLong,'<path>, ',SecondaryConfPathOptShort,'<path>'); writeln(SecondaryConfPathOptShort,'<path>, ',SecondaryConfPathOptLong,'<path>');
w(Format(lissecondaryConfigDirectoryWhereLazarusSearchesFor, [LazConf.GetSecondaryConfigPath])); w(Format(lissecondaryConfigDirectoryWhereLazarusSearchesFor, [LazConf.GetSecondaryConfigPath]));
writeln(''); writeln('');
writeln('--operating-system=<operating-system>, --os=<operating-system>'); writeln('--os=<operating-system>, --operating-system=<operating-system>');
w(Format(lisOverrideTheProjectOperatingSystemEGWin32LinuxDefau, [GetCompiledTargetOS])); w(Format(lisOverrideTheProjectOperatingSystemEGWin32LinuxDefau, [GetCompiledTargetOS]));
writeln(''); writeln('');
writeln('--widgetset=<widgetset>, --ws=<widgetset>'); writeln('--ws=<widgetset>, --widgetset=<widgetset>');
w(Format(lisOverrideTheProjectWidgetsetEGGtkGtk2QtWin32CarbonD, [LCLPlatformDirNames[GetBuildLCLWidgetType]])); w(Format(lisOverrideTheProjectWidgetsetEGGtkGtk2QtWin32CarbonD, [LCLPlatformDirNames[GetBuildLCLWidgetType]]));
writeln(''); writeln('');
writeln('--cpu=<cpu>'); writeln('--cpu=<cpu>');
@ -1874,7 +1874,7 @@ begin
writeln('--subtarget=<subtarget>'); writeln('--subtarget=<subtarget>');
w(lisOverrideTheProjectSubtarg); w(lisOverrideTheProjectSubtarg);
writeln(''); writeln('');
writeln('--build-mode=<project/ide build mode>, --bm=<project/ide build mode>'); writeln('--bm=<project/IDE build mode>, --build-mode=<project/IDE build mode>');
w(lisOverrideTheProjectBuildMode); w(lisOverrideTheProjectBuildMode);
writeln(''); writeln('');
writeln('--compiler=<ppcXXX>'); writeln('--compiler=<ppcXXX>');