From 50afa82a8f14ead7d4d3eafd2a1347b3bb9a2879 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 18 Dec 2017 10:47:40 +0100 Subject: [PATCH] Document the --batch option. --- doc/tinc.8.in | 5 ++++- doc/tinc.texi | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/tinc.8.in b/doc/tinc.8.in index eaad626..041a32c 100644 --- a/doc/tinc.8.in +++ b/doc/tinc.8.in @@ -7,10 +7,11 @@ .Nd tinc VPN control .Sh SYNOPSIS .Nm -.Op Fl cn +.Op Fl bcn .Op Fl -config Ns = Ns Ar DIR .Op Fl -net Ns = Ns Ar NETNAME .Op Fl -pidfile Ns = Ns Ar FILENAME +.Op Fl -batch .Op Fl -force .Op Fl -help .Op Fl -version @@ -55,6 +56,8 @@ Use the cookie from to authenticate with a running tinc daemon. If unspecified, the default is .Pa @runstatedir@/tinc. Ns Ar NETNAME Ns Pa .pid. +.It Fl b, -batch +Don't ask for anything (non-interactive mode). .It Fl -force Force some commands to work despite warnings. .It Fl -help diff --git a/doc/tinc.texi b/doc/tinc.texi index 954a643..6dcc349 100644 --- a/doc/tinc.texi +++ b/doc/tinc.texi @@ -2306,6 +2306,10 @@ Use the cookie from @var{filename} to authenticate with a running tinc daemon. If unspecified, the default is @file{@value{runstatedir}/tinc.@var{netname}.pid}. +@cindex batch +@item -b, --batch +Don't ask for anything (non-interactive mode). + @item --force Force some commands to work despite warnings. -- 2.25.1