tools: fixed typo in wg-show usage
PATCH 1/1 tools: fixed typo in wg-show usage
Signed-off-by Dan Luedtke <[email protected]>
--- src/tools/show.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/tools/show.c +1 -1
@@ -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
Hi Dan,
Thanks. The typo was in the opposite place, which I fixed and give you credit for the report:
https://git.zx2c4.com/WireGuard/commit/?id=309fbe630fccc397e13d57956f0847fc7a2eaf90
This will be part of the next snapshot.
Jason