Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
listen command short options
Browse files Browse the repository at this point in the history
  • Loading branch information
CupOfTea696 committed Apr 26, 2015
1 parent 812a02b commit 09a252e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ protected function allowFlash()
protected function getOptions()
{
return [
['port', 'p', InputOption::VALUE_OPTIONAL, 'Port the WebSocket server should listen on', config('twostream.websocket.port')],
['push', null, InputOption::VALUE_OPTIONAL, 'Enable push messages from the server to the client', config('twostream.push.enabled')],
['push-port', null, InputOption::VALUE_OPTIONAL, 'Port the push server should listen on', config('twostream.push.port')],
['flash', null, InputOption::VALUE_OPTIONAL, 'Allow legacy browsers to connect with the websocket polyfill', config('twostream.flash.allowed')],
['flash-port', null, InputOption::VALUE_OPTIONAL, 'Port the push server should listen on', config('twostream.flash.port')],
['port', 'g', InputOption::VALUE_OPTIONAL, 'Port the WebSocket server should listen on', config('twostream.websocket.port')],
['push', 'p', InputOption::VALUE_OPTIONAL, 'Enable push messages from the server to the client', config('twostream.push.enabled')],
['push-port', 'P', InputOption::VALUE_OPTIONAL, 'Port the push server should listen on', config('twostream.push.port')],
['flash', 'f', InputOption::VALUE_OPTIONAL, 'Allow legacy browsers to connect with the websocket polyfill', config('twostream.flash.allowed')],
['flash-port', 'F', InputOption::VALUE_OPTIONAL, 'Port the push server should listen on', config('twostream.flash.port')],
];
}

Expand Down

0 comments on commit 09a252e

Please sign in to comment.