[ 
https://issues.apache.org/jira/browse/FLINK-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728832#comment-14728832
 ] 

Maximilian Michels commented on FLINK-2613:
-------------------------------------------

Oh good to know. I guess I only tried {{-h}}.

It would be better IMHO if the Shell just printed a help message by default and 
had two modes: local and remote. 

Like so:

{noformat}
> ./bin/start-scala-shell.sh
Flink Scala Shell
Usage: start-scala-shell.sh [local | remote <host> <port>] 
  --help
        prints this usage text

> ./bin/start-scala-shell local
> ./bin/start-scala-shell remote <host> <port> 
{noformat}

> Print usage information for Scala Shell
> ---------------------------------------
>
>                 Key: FLINK-2613
>                 URL: https://issues.apache.org/jira/browse/FLINK-2613
>             Project: Flink
>          Issue Type: Improvement
>          Components: Scala Shell
>    Affects Versions: 0.10
>            Reporter: Maximilian Michels
>            Priority: Minor
>              Labels: starter
>             Fix For: 0.10
>
>
> The Scala Shell startup script starts a {{FlinkMiniCluster}} by default if 
> invoked with no arguments.
> We should add a {{--help}} or {{-h}} option to make it easier for people to 
> find out how to configure remote execution. Alternatively, we could print a 
> notice on the local startup explaining how to start the shell in remote mode.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to