feat: add text output for cert validity in addition to color
This commit is contained in:
		
					parent
					
						
							
								ca17b3a871
							
						
					
				
			
			
				commit
				
					
						498a581626
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -94,7 +94,7 @@ def get_issuer(cert):
 | 
				
			||||||
    help="Read a list of hosts to check from a file",
 | 
					    help="Read a list of hosts to check from a file",
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
@click.option(
 | 
					@click.option(
 | 
				
			||||||
    "--valid/--no-valid", default=True, help="Show the text field for cert validity"
 | 
					    "--valid/--no-valid", default=True, help="Show True/False for cert validity"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
@click.argument("hosts", nargs=-1)
 | 
					@click.argument("hosts", nargs=-1)
 | 
				
			||||||
def main(san, dump, color, filename, valid, hosts):
 | 
					def main(san, dump, color, filename, valid, hosts):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue