Skip to content

Commit 64c0bb5

Browse files
committed
Update 'test buttercup' command doco
1 parent 1f45ee7 commit 64c0bb5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmds/test/buttercup.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@
1717

1818
"use strict";
1919

20-
exports.command = ['buttercup [files..]'];
20+
exports.command = ['buttercup [directories..]'];
2121
exports.desc = 'Run buttercup tests';
2222
exports.builder = yargs => yargs
2323
.positional(
24-
'[files..]', {
25-
description: 'files you want buttercup to run on',
24+
'[directories..]', {
25+
description: 'directories containing buttercup tests, must be children of the current directory',
2626
type: 'array',
2727
});
2828

2929
exports.handler = async (argv) => {
30-
await UTIL.e_call(argv, 'test/buttercup', argv.files);
30+
await UTIL.e_call(argv, 'test/buttercup', argv.directories);
3131
};

0 commit comments

Comments
 (0)