mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	[ruby/optparse] Fix typo in documentation
- "hypnen" -> "hyphen"
- "hadler" -> "handler"
e70e689ded
			
			
This commit is contained in:
		
							parent
							
								
									50bad7159a
								
							
						
					
					
						commit
						6c7e2617d1
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -418,7 +418,7 @@ A description parameter is any string parameter
 | 
			
		|||
that is not recognized as an
 | 
			
		||||
{option name}[#label-Option+Names] or a
 | 
			
		||||
{terminator}[#label-Terminators];
 | 
			
		||||
in other words, it does not begin with a hypnen.
 | 
			
		||||
in other words, it does not begin with a hyphen.
 | 
			
		||||
 | 
			
		||||
You may give any number of description parameters;
 | 
			
		||||
each becomes a line in the text generated by option <tt>--help</tt>.
 | 
			
		||||
| 
						 | 
				
			
			@ -453,7 +453,7 @@ when the option is encountered.  The handler may be:
 | 
			
		|||
 | 
			
		||||
==== Handler Blocks
 | 
			
		||||
 | 
			
		||||
An option hadler may be a block.
 | 
			
		||||
An option handler may be a block.
 | 
			
		||||
 | 
			
		||||
File +block.rb+ defines an option that has a handler block.
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue