Commit 339c7789 authored by Mathieu Giraud's avatar Mathieu Giraud

vidjil.cpp: deprecation error on '-c segment'

See #3772.
parent 462e5218
......@@ -602,6 +602,8 @@ int main (int argc, char **argv)
command = CMD_WINDOWS;
else if (cmd == COMMAND_GERMLINES)
command = CMD_GERMLINES;
else if (cmd == "segment")
return app.exit(CLI::ConstructionError("'-c segment' is deprecated, please use '-c designations'", 1));
else {
return app.exit(CLI::ConstructionError("Unknown command " + cmd, 1));
}
......
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