Add /help equivalent to /man
This commit is contained in:
		
							parent
							
								
									2c65f663bf
								
							
						
					
					
						commit
						3d9f808a60
					
				
							
								
								
									
										8
									
								
								chatte.1
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								chatte.1
									
									
									
									
									
								
							@ -97,6 +97,10 @@ Close the current view.
 | 
				
			|||||||
All views after the current one
 | 
					All views after the current one
 | 
				
			||||||
are renumbered.
 | 
					are renumbered.
 | 
				
			||||||
.
 | 
					.
 | 
				
			||||||
 | 
					.It Ic /help
 | 
				
			||||||
 | 
					Equivalent to
 | 
				
			||||||
 | 
					.Ic /man .
 | 
				
			||||||
 | 
					.
 | 
				
			||||||
.It Ic /join Ar chan
 | 
					.It Ic /join Ar chan
 | 
				
			||||||
Join a channel.
 | 
					Join a channel.
 | 
				
			||||||
.
 | 
					.
 | 
				
			||||||
@ -349,9 +353,7 @@ usually the client IP address.
 | 
				
			|||||||
.El
 | 
					.El
 | 
				
			||||||
.
 | 
					.
 | 
				
			||||||
.Sh EXAMPLES
 | 
					.Sh EXAMPLES
 | 
				
			||||||
.Bd -literal -offset indent
 | 
					.Dl chatte -h ascii.town -j '&chatte'
 | 
				
			||||||
chatte -h ascii.town -j '&chatte'
 | 
					 | 
				
			||||||
.Ed
 | 
					 | 
				
			||||||
.
 | 
					.
 | 
				
			||||||
.Sh STANDARDS
 | 
					.Sh STANDARDS
 | 
				
			||||||
.Rs
 | 
					.Rs
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								input.c
									
									
									
									
									
								
							@ -152,6 +152,7 @@ static const struct {
 | 
				
			|||||||
	Handler handler;
 | 
						Handler handler;
 | 
				
			||||||
} Commands[] = {
 | 
					} Commands[] = {
 | 
				
			||||||
	{ "/close", inputClose },
 | 
						{ "/close", inputClose },
 | 
				
			||||||
 | 
						{ "/help", inputMan },
 | 
				
			||||||
	{ "/join", inputJoin },
 | 
						{ "/join", inputJoin },
 | 
				
			||||||
	{ "/man", inputMan },
 | 
						{ "/man", inputMan },
 | 
				
			||||||
	{ "/me", inputMe },
 | 
						{ "/me", inputMe },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user