Skip to content

Commit f48f2c2

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 38aa9d6 commit f48f2c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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
let mode = 'both'; // Possible states are: [both, option, item]
3434

3535
for (const arg of process.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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy