Skip to content

Commit f94a643

Browse files
committed
exit(0) when no positional args detected
1 parent 649cb91 commit f94a643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/Blueprints/bin/blueprint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ function reportProgress( $progress, $caption ) {
333333
// Validate positional blueprint
334334
if ( count( $positionals ) < 1 ) {
335335
showHelp( $optionDefs );
336-
exit( 1 );
336+
exit( 0 );
337337
}
338338

339339
// Convert CLI arguments to RunnerConfiguration

0 commit comments

Comments
 (0)