Skip to content

Commit e99d3e7

Browse files
committed
Add optional --no-globs parameter to syntax line in --help and README.md
1 parent 95a84df commit e99d3e7

8 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ As a [GitHub Action][github-action] via
6767
markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)
6868
https://github.com/DavidAnson/markdownlint-cli2
6969
70-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]
70+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
7171
7272
Glob expressions (from the globby library):
7373
- * matches any number of characters, but not /

markdownlint-cli2.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ const showHelp = (/** @type {Logger} */ logMessage, /** @type {boolean} */ showB
229229
}
230230
logMessage(`https://github.com/DavidAnson/markdownlint-cli2
231231
232-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]
232+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
233233
234234
Glob expressions (from the globby library):
235235
- * matches any number of characters, but not /

test/snapshots/markdownlint-cli2-test-exec.mjs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Generated by [AVA](https://avajs.dev).
1818
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
1919
https://github.com/DavidAnson/markdownlint-cli2␊
2020
21-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
21+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
2222
2323
Glob expressions (from the globby library):␊
2424
- * matches any number of characters, but not /␊
@@ -75,7 +75,7 @@ Generated by [AVA](https://avajs.dev).
7575
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
7676
https://github.com/DavidAnson/markdownlint-cli2␊
7777
78-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
78+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
7979
8080
Glob expressions (from the globby library):␊
8181
- * matches any number of characters, but not /␊
@@ -132,7 +132,7 @@ Generated by [AVA](https://avajs.dev).
132132
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
133133
https://github.com/DavidAnson/markdownlint-cli2␊
134134
135-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
135+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
136136
137137
Glob expressions (from the globby library):␊
138138
- * matches any number of characters, but not /␊
@@ -189,7 +189,7 @@ Generated by [AVA](https://avajs.dev).
189189
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
190190
https://github.com/DavidAnson/markdownlint-cli2␊
191191
192-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
192+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
193193
194194
Glob expressions (from the globby library):␊
195195
- * matches any number of characters, but not /␊
@@ -676,7 +676,7 @@ Generated by [AVA](https://avajs.dev).
676676
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
677677
https://github.com/DavidAnson/markdownlint-cli2␊
678678
679-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
679+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
680680
681681
Glob expressions (from the globby library):␊
682682
- * matches any number of characters, but not /␊
5 Bytes
Binary file not shown.

test/snapshots/markdownlint-cli2-test-fs.mjs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Generated by [AVA](https://avajs.dev).
1818
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
1919
https://github.com/DavidAnson/markdownlint-cli2␊
2020
21-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
21+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
2222
2323
Glob expressions (from the globby library):␊
2424
- * matches any number of characters, but not /␊
@@ -76,7 +76,7 @@ Generated by [AVA](https://avajs.dev).
7676
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
7777
https://github.com/DavidAnson/markdownlint-cli2␊
7878
79-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
79+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
8080
8181
Glob expressions (from the globby library):␊
8282
- * matches any number of characters, but not /␊
@@ -134,7 +134,7 @@ Generated by [AVA](https://avajs.dev).
134134
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
135135
https://github.com/DavidAnson/markdownlint-cli2␊
136136
137-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
137+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
138138
139139
Glob expressions (from the globby library):␊
140140
- * matches any number of characters, but not /␊
@@ -192,7 +192,7 @@ Generated by [AVA](https://avajs.dev).
192192
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
193193
https://github.com/DavidAnson/markdownlint-cli2␊
194194
195-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
195+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
196196
197197
Glob expressions (from the globby library):␊
198198
- * matches any number of characters, but not /␊
@@ -706,7 +706,7 @@ Generated by [AVA](https://avajs.dev).
706706
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
707707
https://github.com/DavidAnson/markdownlint-cli2␊
708708
709-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
709+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
710710
711711
Glob expressions (from the globby library):␊
712712
- * matches any number of characters, but not /␊
4 Bytes
Binary file not shown.

test/snapshots/markdownlint-cli2-test-main.mjs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Generated by [AVA](https://avajs.dev).
1818
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
1919
https://github.com/DavidAnson/markdownlint-cli2␊
2020
21-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
21+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
2222
2323
Glob expressions (from the globby library):␊
2424
- * matches any number of characters, but not /␊
@@ -76,7 +76,7 @@ Generated by [AVA](https://avajs.dev).
7676
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
7777
https://github.com/DavidAnson/markdownlint-cli2␊
7878
79-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
79+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
8080
8181
Glob expressions (from the globby library):␊
8282
- * matches any number of characters, but not /␊
@@ -134,7 +134,7 @@ Generated by [AVA](https://avajs.dev).
134134
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
135135
https://github.com/DavidAnson/markdownlint-cli2␊
136136
137-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
137+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
138138
139139
Glob expressions (from the globby library):␊
140140
- * matches any number of characters, but not /␊
@@ -192,7 +192,7 @@ Generated by [AVA](https://avajs.dev).
192192
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
193193
https://github.com/DavidAnson/markdownlint-cli2␊
194194
195-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
195+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
196196
197197
Glob expressions (from the globby library):␊
198198
- * matches any number of characters, but not /␊
@@ -706,7 +706,7 @@ Generated by [AVA](https://avajs.dev).
706706
stdout: `markdownlint-cli2 vX.Y.Z (markdownlint vX.Y.Z)␊
707707
https://github.com/DavidAnson/markdownlint-cli2␊
708708
709-
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help]␊
709+
Syntax: markdownlint-cli2 glob0 [glob1] [...] [globN] [--config file] [--fix] [--help] [--no-globs]
710710
711711
Glob expressions (from the globby library):␊
712712
- * matches any number of characters, but not /␊
5 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)