In previous version the command format was:

query <ecl_file> <target_cluster>

and both of <ecl_file> and <target_cluster> was positional parameter.

Now after the 'query' there is a list type parameter for ECL files instead of only one parameter.

To keep "backward compatibility/usage" the RS checks every elements of the ECL file list and if any element do not ended with '.ecl', stores as a target cluster name (later it is checked too).  Without this the <target_cluster> interpreted as an <ecl_file> and cause problem later when RS try to execute the <target_cluster> name as an ECL file.

With these two lines the RS query can use in old form:

query <ecl_file> [<ecl_file>...] <target_cluster>

and a new form:

query <ecl_file> [<ecl_file>...] -c <target_cluster>