cli.unknown_user_data_error dans la sortie
This commit is contained in:
parent
2cf3b0e752
commit
9c9c313681
1 changed files with 23 additions and 2 deletions
|
|
@ -111,15 +111,36 @@ And if we try to assign values to variables that have been disabled, here is wha
|
|||
If we launch the Rougail CLI:
|
||||
|
||||
.. raw:: html
|
||||
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/tag/v1.1_050/config/02/cmd_ro.txt
|
||||
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_050/config/02/cmd_unknown.txt
|
||||
:class: terminal
|
||||
|
||||
..
|
||||
rougail -m firefox/ -u yaml -yf config/02/config.yml --cli.unknown_user_data_error
|
||||
|
||||
It outputs:
|
||||
|
||||
.. raw:: html
|
||||
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/tag/v1.1_050/config/02/output_ro.html
|
||||
:url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_050/config/02/output_unknown.html
|
||||
:class: output
|
||||
|
||||
..
|
||||
<pre><span style="font-weight: bold; color: #ff0000">🛑 Caution</span>
|
||||
<span style="color: #ff0000">┗━━ </span>manual (Manual proxy configuration)
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┣━━ </span>http_proxy (HTTP Proxy)
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">┣━━ </span>address (HTTP address): <span style="color: #ff0000">🛑 family "manual" (Manual proxy </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">configuration) has property disabled, so cannot access to "address" </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">(HTTP address), it has been loading from the YAML file </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">"config/02/config.yml"</span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000">┗━━ </span>port (HTTP Port): <span style="color: #ff0000">🛑 family "manual" (Manual proxy configuration) </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000"> </span><span style="color: #ff0000">has property disabled, so cannot access to "port" (HTTP Port), it </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ff0000"> </span><span style="color: #ff0000">has been loading from the YAML file "config/02/config.yml"</span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>use_for_https (Also use this proxy for HTTPS): <span style="color: #ff0000">🛑 family "manual" </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">(Manual proxy configuration) has property disabled, so cannot access to </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">"use_for_https" (Also use this proxy for HTTPS), it has been loading </span>
|
||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">from the YAML file "config/02/config.yml"</span>
|
||||
</pre>
|
||||
|
||||
|
||||
We can see that the Rougail CLI is warning us about the variables that we are trying to assign values on which are disabled.
|
||||
Because it is not logical. We are trying to assign values to variables that are not taken into account in the :term:`configuration`.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue