Skip to content

Commit 06dd0c5

Browse files
authored
[ddoc preprocessor] Update usage (#3881)
Remove unrecognised `--output` option in usage. Remove unused `Config.outputFile`.
1 parent abb0893 commit 06dd0c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ddoc/source/preprocessor.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
99
Example usage:
1010
1111
---
12-
./ddoc --compiler=<path-to-dmd> --output=out.html myfile.dd
12+
./ddoc --compiler=<path-to-dmd> <source-file> <arguments-to-dmd>
1313
---
1414
1515
Author: Sebastian Wilzbach
@@ -23,7 +23,6 @@ import dmd.cli;
2323
struct Config
2424
{
2525
string dmdBinPath = "dmd";
26-
string outputFile;
2726
string cwd = __FILE_FULL_PATH__.dirName.dirName.dirName;
2827
}
2928
Config config;
@@ -40,9 +39,10 @@ int main(string[] rootArgs)
4039
);
4140
if (helpInformation.helpWanted)
4241
{
43-
`DDoc wrapper
42+
`A wrapper around DDoc to allow custom extensions
43+
./ddoc --compiler=<path-to-dmd> <source-file> <arguments-to-dmd>
44+
4445
All unknown options are passed to the compiler.
45-
./ddoc <file>...
4646
`.defaultGetoptPrinter(helpInformation.options);
4747
return 1;
4848
}

0 commit comments

Comments
 (0)