Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/aliases.cpp')
-rw-r--r--src/common/aliases.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/aliases.cpp b/src/common/aliases.cpp
index 0be26a8c..36613327 100644
--- a/src/common/aliases.cpp
+++ b/src/common/aliases.cpp
@@ -19,6 +19,8 @@ namespace marian {
* As aliases are key-value pairs by default, values are compared as std::string.
* If the command line option corresponding to the alias is a vector, the alias
* will be triggered if the requested value exists in that vector at least once.
+ * By design if an option value that is not defined for that alias option below
+ * is used, the CLI parser will abort with 'unknown value for alias' error.
*
* @see CLIWrapper::alias()
*