chore: update flags
							parent
							
								
									8d521c5946
								
							
						
					
					
						commit
						5fb13896c3
					
				| 
						 | 
				
			
			@ -55,7 +55,7 @@ Where:
 | 
			
		|||
### Flags
 | 
			
		||||
 | 
			
		||||
*   `-1`, `--first-only`: Return only the first match
 | 
			
		||||
*   `-q`, `--quiet`: Don't print warnings
 | 
			
		||||
*   `-e`, `--errors`: print warnings
 | 
			
		||||
*   `-t`, `--text`: Print only the [innerText](https://developer.mozilla.org/fr/docs/Web/API/HTMLElement/innerText) of the matched elements
 | 
			
		||||
 | 
			
		||||
## Motivation
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								main.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								main.lua
								
								
								
								
							| 
						 | 
				
			
			@ -22,7 +22,7 @@ local function print_usage()
 | 
			
		|||
		logger.print()
 | 
			
		||||
		logger.print("  Flags:")
 | 
			
		||||
    logger.print("  -1, --first-only: return only the first match")
 | 
			
		||||
    logger.print("  -q, --quiet: Don't print warnings")
 | 
			
		||||
    logger.print("  -e, --errors: print warnings")
 | 
			
		||||
    logger.print("  -t, --text: Print only the innerText of the matched elements")
 | 
			
		||||
    os.exit(1)
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue