Skip to content

Commit 4dd229f

Browse files
avivkellertargos
authored andcommitted
benchmark: support --help in CLI
PR-URL: #53358 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent ef9a950 commit 4dd229f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎benchmark/_cli.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function CLI(usage, settings) {
3333
letmode='both';// Possible states are: [both, option, item]
3434

3535
for(constargofprocess.argv.slice(2)){
36+
if(arg==='--help')this.abort(usage);
3637
if(arg==='--'){
3738
// Only items can follow --
3839
mode='item';

0 commit comments

Comments
 (0)