diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-14 22:18:29 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-16 06:35:58 +0100 |
commit | b13397ac7e87e6b0bca2cbfb554c94f69dc0b50e (patch) | |
tree | b1ff042106bfb788444cefecb73eb2237d0d1f83 | |
parent | ratelimiter: drop family from action for 4.10 (diff) | |
download | wireguard-monolithic-historical-b13397ac7e87e6b0bca2cbfb554c94f69dc0b50e.tar.xz wireguard-monolithic-historical-b13397ac7e87e6b0bca2cbfb554c94f69dc0b50e.zip |
tools: fix latest-handshake typo in documentation
Reported-by: Dan Lüdtke <mail@danrl.com>
-rw-r--r-- | src/tools/show.c | 2 | ||||
-rw-r--r-- | src/tools/wg.8 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/show.c b/src/tools/show.c index ec92098..624f789 100644 --- a/src/tools/show.c +++ b/src/tools/show.c @@ -203,7 +203,7 @@ static char *bytes(uint64_t b) static const char *COMMAND_NAME = NULL; static void show_usage(void) { - fprintf(stderr, "Usage: %s %s { <interface> | all | interfaces } [public-key | private-key | preshared-key | listen-port | peers | endpoints | allowed-ips | latest-handshake | bandwidth | persistent-keepalive]\n", PROG_NAME, COMMAND_NAME); + fprintf(stderr, "Usage: %s %s { <interface> | all | interfaces } [public-key | private-key | preshared-key | listen-port | peers | endpoints | allowed-ips | latest-handshakes | bandwidth | persistent-keepalive]\n", PROG_NAME, COMMAND_NAME); } static void pretty_print(struct wgdevice *device) diff --git a/src/tools/wg.8 b/src/tools/wg.8 index 4e7e4c2..1ec7ec4 100644 --- a/src/tools/wg.8 +++ b/src/tools/wg.8 @@ -36,7 +36,7 @@ Sub-commands that take an INTERFACE must be passed a WireGuard interface. .SH COMMANDS .TP -\fBshow\fP { \fI<interface>\fP | \fIall\fP | \fIinterfaces\fP } [\fIpublic-key\fP | \fIprivate-key\fP | \fIpreshared-key\fP | \fIlisten-port\fP | \fIpeers\fP | \fIendpoints\fP | \fIallowed-ips\fP | \fIlatest-handshake\fP | \fIpersistent-keepalive\fP | \fIbandwidth\fP] +\fBshow\fP { \fI<interface>\fP | \fIall\fP | \fIinterfaces\fP } [\fIpublic-key\fP | \fIprivate-key\fP | \fIpreshared-key\fP | \fIlisten-port\fP | \fIpeers\fP | \fIendpoints\fP | \fIallowed-ips\fP | \fIlatest-handshakes\fP | \fIpersistent-keepalive\fP | \fIbandwidth\fP] Shows current WireGuard configuration of specified \fI<interface>\fP. If no \fI<interface>\fP is specified, \fI<interface>\fP defaults to \fIall\fP. If \fIinterfaces\fP is specified, prints a list of all WireGuard interfaces, |