<dependency>
<groupId>eu.svjatoslav</groupId>
<artifactId>svjatoslavcommons</artifactId>
- <version>1.8</version>
+ <version>1.9-SNAPSHOT</version>
</dependency>
</dependencies>
public final boolean configurationOk;
public NullParameter hideOrphanedClasses;
- public CommandlineConfiguration(String args[]) {
+ public static final String DEFAULT_GRAPH_NAME = "graph";
+
+ public CommandlineConfiguration(String[] args) {
Parser parser = buildCommandlineParameterParser();
configurationOk = parser.parse(args);
if (!configurationOk)
.addAliases("-j");
graphName = parser.add(
- new StringParameter("Graph name."))
- .setMandatory()
+ new StringParameter("Graph name. (default: \"" + DEFAULT_GRAPH_NAME + "\")", DEFAULT_GRAPH_NAME))
.addAliases("-n");
showDebug = parser.add(