Wrong help text

This commit is contained in:
Brian Buller 2015-05-28 14:16:36 -05:00
parent c47f704231
commit 5b31280121
1 changed files with 1 additions and 1 deletions

View File

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