Fix off-by-one in CLI

Tento commit je obsažen v:
lawl 2021-04-05 10:43:54 +02:00
rodič b02911c9b4
revize 305e4300cc

Zobrazit soubor

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