Wrong help text
This commit is contained in:
parent
c47f704231
commit
5b31280121
@ -14,7 +14,7 @@ const PROGRAM_NAME = "autoscrape"
|
||||
|
||||
func main() {
|
||||
if len(os.Args) <= 2 {
|
||||
fmt.Print("Usage: " + PROGRAM_NAME + " <url|url-json> <selector|selector-json> [page-parameter] [max-pages]\n")
|
||||
fmt.Print("Usage: " + PROGRAM_NAME + " <url> <selector> [page-parameter] [max-pages]\n")
|
||||
os.Exit(1)
|
||||
}
|
||||
url := os.Args[1]
|
||||
|
Loading…
Reference in New Issue
Block a user