Skip to content

Commit 9e4013e

Browse files
committed
fix(app): commander default argument
1 parent 3e5d745 commit 9e4013e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export class CliApplication extends Application {
4444
program
4545
.version(pkg.version)
4646
.usage('<src> [options]')
47-
.argument('<src>')
4847
.option(
4948
'-c, --config [config]',
5049
'A configuration file : .compodocrc, .compodocrc.json, .compodocrc.yaml or compodoc property in package.json'
@@ -200,6 +199,7 @@ Note: Certain tabs will only be shown if applicable to a given dependency`,
200199
'Max search results on the results page. To show all results, set to 0',
201200
COMPODOC_DEFAULTS.maxSearchResults
202201
)
202+
.allowExcessArguments()
203203
.parse(process.argv);
204204

205205
let outputHelp = () => {

0 commit comments

Comments
 (0)