Skip to contentSkip to conversation

tools: fixed typo in wg-show usage

PATCH In review danrl 2 participants 2 messages Dec 14, 2016

lore
Share & tools
lore

danrl

author
#0 lore raw

PATCH 1/1 tools: fixed typo in wg-show usage

---
 src/tools/show.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/tools/show.c +1 -1
index ec92098..624f789 100644
@@ -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)
Signature · 1 line
2.10.0