1
0
réplica de https://github.com/quitesimpleorg/hs9001.git sincronizado 2024-11-22 04:07:52 +01:00

Fix off-by-one in CLI

Este cometimento está contido em:
lawl 2021-04-05 10:43:54 +02:00
ascendente b02911c9b4
cometimento 305e4300cc

Ver ficheiro

@ -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
}