Browse Source

flag should come before script name

Rob Bast 5 years ago
parent
commit
d63bf33848
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/articles/scripts.md

+ 1 - 1
doc/articles/scripts.md

@@ -268,7 +268,7 @@ To disable the timeout of a single script call, you must use the `run-script` co
 command and specify the `--timeout` parameter:
 
 ```
-composer run-script test --timeout=0
+composer run-script --timeout=0 test
 ```
 
 ## Referencing scripts