Add a non-interactive mode to tinc commands.
authorEtienne Dechamps <etienne@edechamps.fr>
Sun, 13 Jul 2014 14:54:34 +0000 (15:54 +0100)
committerEtienne Dechamps <etienne@edechamps.fr>
Sun, 13 Jul 2014 14:54:34 +0000 (15:54 +0100)
Some tinc commands, such as "tinc generate-keys", use the terminal to
ask the user for information. This can be bypassed by making sure
there is no terminal, which is trivial on *nix but might require
jumping through some hoops on Windows depending on how the command is
invoked.

This commit adds a --batch option that ensures tinc will never ask the
user for input, even if it is attached to a terminal.


No differences found