1
0
鏡像自 https://github.com/quitesimpleorg/hs9001.git 已同步 2025-07-12 00:54:55 +02:00

search: concat multiple arguments. Don't just use the first

This is more natural
此提交包含在:
2021-03-22 19:43:53 +01:00
父節點 31973bd5dd
當前提交 eb0612864d

查看文件

@ -9,6 +9,7 @@ import (
"os"
"path/filepath"
"regexp"
"strings"
_ "modernc.org/sqlite"
)
@ -152,7 +153,7 @@ func main() {
if argslen < 2 {
fmt.Fprint(os.Stderr, "Please provide the search query\n")
}
q := args[1]
q := strings.Join(args[1:], " ")
search(conn, q)
os.Exit(23)
} else if cmd == "init" {