Skip to content

Commit

Permalink
Merge pull request #869 from sania-16/sania
Browse files Browse the repository at this point in the history
issue #839
  • Loading branch information
sonalgoyal authored Jul 30, 2024
2 parents a077c3b + 561c35d commit b1487e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion common/client/src/main/java/zingg/common/client/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ public void printAnalyticsBanner(boolean collectMetrics) {
}

public abstract Client<S,D,R,C,T> getClient(IArguments args, ClientOptions options) throws ZinggClientException;

public ClientOptions getClientOptions(String ... args){
return new ClientOptions(args);
}

public void mainMethod(String... args) {
printBanner();
Expand All @@ -192,7 +196,7 @@ public void mainMethod(String... args) {
try {

for (String a: args) LOG.debug("args " + a);
options = new ClientOptions(args);
options = getClientOptions(args);
setOptions(options);

if (options.has(options.HELP) || options.has(options.HELP1) || options.get(ClientOptions.PHASE) == null) {
Expand Down
2 changes: 1 addition & 1 deletion examples/febrl120k/config120k.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"fieldDefinition":[
{
"fieldName" : "fname",
"matchType" : "email",
"matchType" : "fuzzy",
"fields" : "fname",
"dataType": "string"
},
Expand Down

0 comments on commit b1487e5

Please sign in to comment.