Skip to content
Snippets Groups Projects
Commit 4a71754b authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[App] ogs; Capitalize CLI arguments' types.

parent 23462d49
No related branches found
No related tags found
No related merge requests found
...@@ -68,12 +68,12 @@ int main(int argc, char* argv[]) ...@@ -68,12 +68,12 @@ int main(int argc, char* argv[])
"Path to the ogs6 project file.", "Path to the ogs6 project file.",
true, true,
"", "",
"PROJECT FILE"); "PROJECT_FILE");
cmd.add(project_arg); cmd.add(project_arg);
TCLAP::ValueArg<std::string> outdir_arg("o", "output-directory", TCLAP::ValueArg<std::string> outdir_arg("o", "output-directory",
"the output directory to write to", "the output directory to write to",
false, "", "output directory"); false, "", "PATH");
cmd.add(outdir_arg); cmd.add(outdir_arg);
TCLAP::ValueArg<std::string> log_level_arg("l", "log-level", TCLAP::ValueArg<std::string> log_level_arg("l", "log-level",
...@@ -86,7 +86,7 @@ int main(int argc, char* argv[]) ...@@ -86,7 +86,7 @@ int main(int argc, char* argv[])
#else #else
"all", "all",
#endif #endif
"log level"); "LOG_LEVEL");
cmd.add(log_level_arg); cmd.add(log_level_arg);
TCLAP::SwitchArg nonfatal_arg("", TCLAP::SwitchArg nonfatal_arg("",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment