mirror of
				https://github.com/onyx-and-iris/aoc2024.git
				synced 2025-11-03 22:41:46 +00:00 
			
		
		
		
	upd loglevel flag desc
This commit is contained in:
		
							parent
							
								
									1ef43151b8
								
							
						
					
					
						commit
						b981b962a2
					
				@ -20,7 +20,7 @@ var files embed.FS
 | 
			
		||||
 | 
			
		||||
func main() {
 | 
			
		||||
	filename := flag.String("f", "input.txt", "input file")
 | 
			
		||||
	loglevel := flag.Int("l", int(log.InfoLevel), "log level (shorthand)")
 | 
			
		||||
	loglevel := flag.Int("l", int(log.InfoLevel), "log level")
 | 
			
		||||
	flag.Parse()
 | 
			
		||||
 | 
			
		||||
	if slices.Contains(log.AllLevels, log.Level(*loglevel)) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user