tükörképe a:
				https://github.com/quitesimpleorg/hs9001.git
				synced 2025-10-31 11:09:29 +01:00 
			
		
		
		
	Fix off-by-one in CLI
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @@ -143,7 +143,7 @@ func main() { | ||||
| 	searchCmd := flag.NewFlagSet("search", flag.ExitOnError) | ||||
| 	deleteCmd := flag.NewFlagSet("delete", flag.ExitOnError) | ||||
|  | ||||
| 	if len(os.Args) < 1 { | ||||
| 	if len(os.Args) < 2 { | ||||
| 		printUsage() | ||||
| 		return | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 lawl
					lawl