mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
reformat file
This commit is contained in:
parent
e673197161
commit
2091c5ad5a
@ -8,10 +8,9 @@ import java.util.*;
|
||||
import java.util.function.Function;
|
||||
|
||||
/**
|
||||
* Encapsulate Command parsing and structure for the NoSQLBench command line.
|
||||
* Commands always have a name, sometimes have a list of positional arguments,
|
||||
* and sometimes have a map of named parameters.
|
||||
* An example of a command tha thas both would look like {@code script test.js p1=v1}
|
||||
* Encapsulate Command parsing and structure for the NoSQLBench command line. Commands always have a name, sometimes
|
||||
* have a list of positional arguments, and sometimes have a map of named parameters. An example of a command tha thas
|
||||
* both would look like {@code script test.js p1=v1}
|
||||
*/
|
||||
public class Cmd {
|
||||
|
||||
@ -72,6 +71,7 @@ public class Cmd {
|
||||
public static Arg<String> of(String name) {
|
||||
return new Arg<>(name, s -> s, false);
|
||||
}
|
||||
|
||||
public static Arg<String> ofFreeform(String name) {
|
||||
return new Arg<>(name, s -> s, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user