Skip to content

Commit 2907c86

Browse files
author
Anton Eriksson
authored
fix: Common parameters should not be advanced (#101)
Fixes #100
1 parent f447b48 commit 2907c86

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/io/Config.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ Config Config::fromString(std::string flags, bool requireFileInput)
8888
"Don't write output to file.", "Output", true);
8989

9090
api.addOptionArgument(conf.printTree, "tree",
91-
"Print a tree file with the modular hierarchy. Automatically enabled if no other output is specified.", "Output", true);
91+
"Write a tree file with the modular hierarchy. Automatically enabled if no other output is specified.", "Output");
9292

9393
api.addOptionArgument(conf.printFlowTree, "ftree",
94-
"Print a ftree file with the modular hierarchy including aggregated links between (nested) modules. (Used by Network Navigator)", "Output", true);
94+
"Write a ftree file with the modular hierarchy including aggregated links between (nested) modules. (Used by Network Navigator)", "Output");
9595

9696
api.addOptionArgument(conf.printClu, "clu",
97-
"Print a clu file with the top cluster ids for each node.", "Output");
97+
"Write a clu file with the top cluster ids for each node.", "Output");
9898

9999
api.addOptionArgument(conf.cluLevel, "clu-level",
100100
"For clu output, print modules at specified depth from root. Use -1 for bottom level modules.", ArgType::integer, "Output", true);
@@ -115,7 +115,7 @@ Config Config::fromString(std::string flags, bool requireFileInput)
115115
"Specify flow model. Options: undirected, directed, undirdir, outdirdir, rawdir.", ArgType::option, "Algorithm");
116116

117117
api.addOptionArgument(conf.directed, 'd', "directed",
118-
"Assume directed links.", "Algorithm");
118+
"Assume directed links. Shorthand for '--flow-model directed'.", "Algorithm");
119119

120120
// api.addOptionArgument(conf.recordedTeleportation, 'e', "recorded-teleportation",
121121
// "If teleportation is used to calculate the flow, also record it when minimizing codelength.", "Algorithm", true);
@@ -195,7 +195,7 @@ Config Config::fromString(std::string flags, bool requireFileInput)
195195
// "Set the recursion limit when searching for sub-modules. A level of 1 will find sub-sub-modules.", ArgType::integer, "Accuracy", true);
196196

197197
api.addIncrementalOptionArgument(conf.fastHierarchicalSolution, 'F', "fast-hierarchical-solution",
198-
"Find top modules fast. Use -FF to keep all fast levels. Use -FFF to skip recursive part.", "Accuracy");
198+
"Find top modules fast. Use -FF to keep all fast levels. Use -FFF to skip recursive part.", "Accuracy", true);
199199

200200
api.addOptionArgument(conf.preferModularSolution, "prefer-modular-solution",
201201
"Prefer modular solutions even if they are worse than putting all nodes in one module.", "Accuracy", true);
@@ -204,7 +204,7 @@ Config Config::fromString(std::string flags, bool requireFileInput)
204204
// "Prioritize memory efficient algorithms before fast. Use -ll to optimize even more, but this may give approximate results.");
205205

206206
api.addOptionArgument(conf.innerParallelization, "inner-parallelization",
207-
"Parallelize the inner-most loop for greater speed. This may give some accuracy tradeoff.", "Accuracy");
207+
"Parallelize the inner-most loop for greater speed. This may give some accuracy tradeoff.", "Accuracy", true);
208208

209209
// --------------------- Output options ---------------------
210210
// if (requireFileInput)

0 commit comments

Comments
 (0)