mirror of https://github.com/vitalif/phantomjs
parent
281d291cfb
commit
1602394efb
|
@ -20,7 +20,7 @@ page.onInitialized = ->
|
||||||
platform
|
platform
|
||||||
|
|
||||||
if system.args.length is 1
|
if system.args.length is 1
|
||||||
console.log 'Usage: unsniff.coffee <some URL>'
|
console.log 'Usage: detectsniff.coffee <some URL>'
|
||||||
phantom.exit 1
|
phantom.exit 1
|
||||||
else
|
else
|
||||||
address = system.args[1]
|
address = system.args[1]
|
||||||
|
|
|
@ -33,7 +33,7 @@ page.onInitialized = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (system.args.length === 1) {
|
if (system.args.length === 1) {
|
||||||
console.log('Usage: unsniff.js <some URL>');
|
console.log('Usage: detectsniff.js <some URL>');
|
||||||
phantom.exit(1);
|
phantom.exit(1);
|
||||||
} else {
|
} else {
|
||||||
address = system.args[1];
|
address = system.args[1];
|
||||||
|
|
Loading…
Reference in New Issue