Commit 09e34e08 authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: parse config from --config

see #3837
parent be07534e
......@@ -269,6 +269,9 @@ int main (int argc, char **argv)
// ----------------------------------------------------------------------------------------------------------------------
group = "Input" ;
app.set_config("--config", "", "read a (.json) config.vidjil file with options") -> type_name("FILE")
-> group(group) -> level();
string read_header_separator = DEFAULT_READ_HEADER_SEPARATOR ;
app.add_option("--header-sep", read_header_separator, "separator for headers in the reads file", false)
-> group(group) -> level() -> type_name("CHAR='" DEFAULT_READ_HEADER_SEPARATOR "'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment