mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
Changed -D option (which will become the "Define Option" option for compatibility reason) to the -X option, for "expel" all the doclets to console and quit.
This commit is contained in:
parent
b96fc0f6e6
commit
70b4260697
2
main.js
2
main.js
@ -155,7 +155,7 @@ function main() {
|
||||
|
||||
docs = app.jsdoc.parser.parse(sourceFiles, env.opts.encoding);
|
||||
|
||||
if (env.opts.dump) {
|
||||
if (env.opts.expel) {
|
||||
dump(docs);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
argsParser.addOption('V', 'validate', false, 'Validate the results produced by parsing the source code.');
|
||||
argsParser.addOption('r', 'recurse', false, 'Recurse into subdirectories when scanning for source code files.');
|
||||
argsParser.addOption('h', 'help', false, 'Print this message and quit.');
|
||||
argsParser.addOption('D', 'dump', false, 'Dump all found doclet internals to console and quit.');
|
||||
argsParser.addOption('X', 'expel', false, 'Dump all found doclet internals to console and quit.');
|
||||
|
||||
|
||||
// TODO [-R, recurseonly] = a number representing the depth to recurse
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user