diff options
author | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-12-23 15:05:18 +0000 |
---|---|---|
committer | michael <michael@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2011-12-23 15:05:18 +0000 |
commit | 3cd808b678231867c3f1e984e267a3a271ce9c00 (patch) | |
tree | 846fb86023e3dcde1dce531eb7d3ae890e17e072 /utils | |
parent | 11c87755ef41091db22a811a8ca2e83c2eebd039 (diff) | |
download | fpc-3cd808b678231867c3f1e984e267a3a271ce9c00.tar.gz |
* Extended usage with additional options for project file
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@19884 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fpdoc/dglobals.pp | 3 | ||||
-rw-r--r-- | utils/fpdoc/fpdoc.pp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/utils/fpdoc/dglobals.pp b/utils/fpdoc/dglobals.pp index f6c5fc1a79..302d4c2af8 100644 --- a/utils/fpdoc/dglobals.pp +++ b/utils/fpdoc/dglobals.pp @@ -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.'; diff --git a/utils/fpdoc/fpdoc.pp b/utils/fpdoc/fpdoc.pp index 82207ea383..fb11df5fb7 100644 --- a/utils/fpdoc/fpdoc.pp +++ b/utils/fpdoc/fpdoc.pp @@ -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; |