Permalink
Browse files

"list" command instead of --list

  • Loading branch information...
1 parent e868748 commit 1b7ddf908512b6ae7a66aeba5746fc0adcbe423d @substack committed Jun 30, 2012
Showing with 5 additions and 5 deletions.
  1. +2 −2 bin/cmd.js
  2. +3 −3 bin/usage.txt
View
@@ -11,11 +11,11 @@ var argv = require('optimist')
.default('server', 'localhost:54046')
.argv
;
-if (argv.list === 'local') {
+if (argv._[0] === 'list') {
launcher.config.read(function (err, cfg) {
if (err) return console.error(err);
cfg.browsers.local.forEach(function (browser) {
- console.log(browser.name);
+ console.log(browser.name + '/' + browser.version);
});
});
return;
View
@@ -1,17 +1,17 @@
Usage:
testling tunnel
- testling --list=TYPE
+ testling list
testling OPTIONS [test files]
testling tunnel
Open a testling ssh tunnel. This step is necessary before using testling
browsers.
-testling --list=TYPE
+testling list
- List TYPE browsers. Available TYPEs: local.
+ List local available browsers.
testling OPTIONS [test files]

0 comments on commit 1b7ddf9

Please sign in to comment.