Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit 64a95d2

Browse files
Only get the first 12 pages from the site
1 parent b1606c8 commit 64a95d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/clj/com/agilecreativity/hn_reader/option.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(:gen-class))
44

55
(def options
6-
[["-p" "--page-count PAGE-COUNT" :default "20"]
6+
[["-p" "--page-count PAGE-COUNT" :default "12"]
77
["-o" "--output-file OUTPUT-FILE" :default "hacker-news.org"]
88
["-h" "--help"]])
99

@@ -14,7 +14,7 @@
1414
options-summary
1515
"Options:"
1616
""
17-
"--p PAGE-COUNT the number of pages to be extracted default to 20"
17+
"--p PAGE-COUNT the number of pages to be extracted default to 12"
1818
"--o OUTPUT-FILE the output file name default to 'hacker-news.org'"
1919
""]
2020
(string/join \newline)))

0 commit comments

Comments
 (0)