wg: fix latest-handshake typo in documentation
Reported-by: Dan Lüdtke <mail@danrl.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
		
							parent
							
								
									f03aea7574
								
							
						
					
					
						commit
						187bf98339
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -203,7 +203,7 @@ static char *bytes(uint64_t b)
 | 
				
			||||||
static const char *COMMAND_NAME = NULL;
 | 
					static const char *COMMAND_NAME = NULL;
 | 
				
			||||||
static void show_usage(void)
 | 
					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)
 | 
					static void pretty_print(struct wgdevice *device)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								src/wg.8
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								src/wg.8
									
									
									
									
									
								
							| 
						 | 
					@ -36,7 +36,7 @@ Sub-commands that take an INTERFACE must be passed a WireGuard interface.
 | 
				
			||||||
.SH COMMANDS
 | 
					.SH COMMANDS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.TP
 | 
					.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.
 | 
					Shows current WireGuard configuration of specified \fI<interface>\fP.
 | 
				
			||||||
If no \fI<interface>\fP is specified, \fI<interface>\fP defaults to \fIall\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,
 | 
					If \fIinterfaces\fP is specified, prints a list of all WireGuard interfaces,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue