diff --git a/README.md b/README.md index ea08d22..4282137 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ OPTIONS -h, --help show CLI help -o, --outputReportDir=outputReportDir output report directory path. default: ./sabik_report -v, --version show CLI version - --excludes=excludes exclude patterns is separated by a comma. example: *.test.ts,*.spec.ts + --excludes=excludes exclude patterns is separated by a comma. example: .test.ts$,.spec.ts$ --matches=matches match patterns. example: .ts$ ``` diff --git a/src/index.ts b/src/index.ts index 7c88293..d39996c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,7 +19,7 @@ class Sabik extends Command { }), excludes: flags.string({ description: - 'exclude patterns is separated by a comma. example: *.test.ts,*.spec.ts', + 'exclude patterns is separated by a comma. example: .test.ts$,.spec.ts$', }), matches: flags.string({ description: 'match patterns. example: .ts$' }), };