Skip to content

Commit 4f8695f

Browse files
.ci/lint.R: fix --help behaviour (#7464)
* .ci/lint.R: fix --help * Terminate with comma, NULL --------- Co-authored-by: Michael Chirico <[email protected]>
1 parent 6329d94 commit 4f8695f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/lint.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
args = commandArgs(TRUE)
44
if (identical(args, '--help')) {
55
writeLines(c(
6-
'Usage: Rscript .ci/lint.R .ci/linters/<KIND> <WHERE> <WHAT> [PREPROCESS]',
6+
'Usage: Rscript .ci/lint.R .ci/linters/<KIND> <WHERE> <WHAT>',
77
'KIND must name the directory containing the *.R files defining the linter functions.',
88
'WHERE must name the directory containing the files to lint, e.g. "po", or "src".',
99
"WHAT must contain the regular expression matching the files to lint, e.g., '[.]po$', or '[.][ch]$'.",
10+
NULL
1011
))
1112
q('no')
1213
}

0 commit comments

Comments
 (0)