Should support `--config=` and `-c=` styles for configuration file option in Schema Loader
@@ -67,10 +67,14 @@ public class SchemaLoader {
@Nullable
private static Object getCommand(String arg) {
- switch (arg) {
- case "--config":
- case "-c":
+ if (arg.equals("--config")
+ || arg.startsWith("--config=")
+ || arg.equals("-c")
+ || arg.startsWith("-c=")) {
return new SchemaLoaderCommand();
+ }
+
+ switch (arg) {
case "--cassandra":
return new CassandraCommand();
case "--cosmos":
