mirror of
				https://github.com/flynx/argv.js.git
				synced 2025-10-31 03:30:08 +00:00 
			
		
		
		
	docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									54451e0451
								
							
						
					
					
						commit
						d8ef954d94
					
				
							
								
								
									
										17
									
								
								argv.js
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								argv.js
									
									
									
									
									
								
							| @ -357,6 +357,21 @@ object.Constructor('Parser', { | |||||||
| 	 | 	 | ||||||
| 	// Help...
 | 	// Help...
 | ||||||
| 	//
 | 	//
 | ||||||
|  | 	// Formatting option spec:
 | ||||||
|  | 	//
 | ||||||
|  | 	//                       +-------------- .helpColumnOffset
 | ||||||
|  | 	//                      /
 | ||||||
|  | 	//  |<------------------------>|
 | ||||||
|  | 	//
 | ||||||
|  | 	//      -o, --option=VALUE      - option doc
 | ||||||
|  | 	//        __        _           __
 | ||||||
|  | 	//          \        \            \
 | ||||||
|  | 	//           \        \            +---- .helpColumnPrefix
 | ||||||
|  | 	//            \        \
 | ||||||
|  | 	//             \        +--------------- .helpValueSeparator
 | ||||||
|  | 	//              \
 | ||||||
|  | 	//               +---------------------- .helpArgumentSeparator
 | ||||||
|  | 	//
 | ||||||
| 	// doc config...
 | 	// doc config...
 | ||||||
| 	helpColumnOffset: 3, | 	helpColumnOffset: 3, | ||||||
| 	helpColumnPrefix: '- ', | 	helpColumnPrefix: '- ', | ||||||
| @ -369,7 +384,7 @@ object.Constructor('Parser', { | |||||||
| 	usage: '$SCRIPTNAME [OPTIONS]', | 	usage: '$SCRIPTNAME [OPTIONS]', | ||||||
| 	doc: undefined, | 	doc: undefined, | ||||||
| 	examples: undefined, | 	examples: undefined, | ||||||
| 	//footer: '$SCRIPTNAME ($VERSION / $LICENSE) by $AUTHOR',
 | 	//footer: 'Written by $AUTHOR ($VERSION / $LICENSE).',
 | ||||||
| 	footer: undefined, | 	footer: undefined, | ||||||
| 
 | 
 | ||||||
| 	// XXX should wrap long lines...
 | 	// XXX should wrap long lines...
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user