1
0
镜像自地址 https://github.com/quitesimpleorg/hs9001.git 已同步 2025-03-13 21:03:32 +01:00

Fix off-by-one in CLI

这个提交包含在:
lawl 2021-04-05 10:43:54 +02:00
父节点 b02911c9b4
当前提交 305e4300cc

查看文件

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