* Extended usage with additional options for project file

git-svn-id: trunk@19884 -
This commit is contained in:
michael 2011-12-23 15:05:18 +00:00
parent 397a6059f8
commit 5bccdb9c62
2 changed files with 5 additions and 0 deletions

View File

@ -145,6 +145,7 @@ resourcestring
SUsageOption130 = '--output=name use name as the output name.';
SUsageOption140 = ' Each backend interpretes this as needed.';
SUsageOption150 = '--package=name Set the package name for which to create output';
SUsageOption155 = '--project=file Use file as project file';
SUsageOption160 = '--show-private Show private methods.';
SUsageOption170 = '--warn-no-node Warn if no documentation node was found.';
SUsageOption180 = '--mo-dir=dir Set directory where language files reside to dir';
@ -155,6 +156,8 @@ resourcestring
SUsageOption230 = '--dry-run Only parse sources and XML, do not create output';
SUsageOption240 = '--descr-dir=Dir Add All XML files in Dir to list of description files';
SUsageOption250 = '--input-dir=Dir Add All *.pp and *.pas files in Dir to list of input files';
SUsageOption260 = '--write-project=file Write all command-line options to a project file';
SUsageFormats = 'The following output formats are supported by this fpdoc:';
SUsageBackendHelp = 'Specify an output format, combined with --help to get more help for this backend.';

View File

@ -80,6 +80,7 @@ begin
Writeln(SUsageOption130);
Writeln(SUsageOption140);
Writeln(SUsageOption150);
Writeln(SUsageOption155);
Writeln(SUsageOption160);
Writeln(SUsageOption170);
Writeln(SUsageOption180);
@ -90,6 +91,7 @@ begin
Writeln(SUsageOption230);
Writeln(SUsageOption240);
Writeln(SUsageOption250);
Writeln(SUsageOption260);
L:=TStringList.Create;
Try
Backend:=FCreator.OPtions.Backend;