Skip to content

Add a note to indicate how use boolean value in non-interactive registration cli

julien Millau requested to merge (removed):patch-2 into master

With the non-interactive cli, boolean value must be passed as --key={true|false} and not as --key {true|false}.
This is actually due to the behavior of the standard library flag package that is used to handle the parsing. (see https://golang.org/pkg/flag/)

Command line flag syntax:

--flag
--flag=x
--flag x  // non-boolean flags only

I have added a note about that in the "Non-interactive registration" section.

Closes #2855 (closed) Related #2811 (closed) #2757 (closed)

Edited by Alessio Caiazza

Merge request reports