Comparing version 0.2.8 to 0.2.9
@@ -19,2 +19,8 @@ #!/usr/bin/env node | ||
// init | ||
if (args.V) | ||
{ | ||
var packageJson = require(__dirname + '/../package.json'); | ||
console.log('Loadtest version: %s', packageJson.version); | ||
process.exit(0); | ||
} | ||
// is there an url? if not, break and display help | ||
@@ -85,2 +91,3 @@ if(args._.length === 0) | ||
console.log(' -r Do not exit on socket receive errors'); | ||
console.log(' -V Show version number and exit'); | ||
console.log('Other options are:'); | ||
@@ -87,0 +94,0 @@ console.log(' --rps Requests per second for each client'); |
{ | ||
"name": "loadtest", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Run load tests for your web application. Mostly ab-compatible interface, with an option to force requests per second. Includes an API for automated load testing.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/alexfernandez/loadtest", |
@@ -89,2 +89,6 @@ [![Build Status](https://secure.travis-ci.org/alexfernandez/loadtest.png)](http://travis-ci.org/alexfernandez/loadtest) | ||
#### -V | ||
Show version number and exit. | ||
### Advanced Usage | ||
@@ -91,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49476
18
1561
271
3
5